#764EB3

#764eb3 ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#764eb3 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 46.27% red, 30.59% green and 70.2% blue; printed in CMYK it uses 34.08% cyan, 56.42% magenta, 0% yellow and 29.8% black. Its hue angle is 263.76°, with 39.92% saturation and 50.39% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 5.98:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.27.

Description generated from the measured properties of this color.

Conversions of #764eb3 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1256

Readable text 5.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6b5b8a ≈ 0.001% of males
Protanopia #2163b6 ≈ 1.01% of males
Deuteranopia #3062b1 ≈ 1.27% of males
Tritanopia #696279 ≈ 0.0001% of males
Protanomaly #515bb5 ≈ 1.08% of males
Deuteranomaly #555bb2 ≈ 4.63% of males
Tritanomaly #6e5b94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-764eb3 {
  color: #764eb3;
}
Background
.bg-764eb3 {
  background-color: #764eb3;
  color: #ffffff;
}
Border
.border-764eb3 {
  border: 2px solid #764eb3;
}
CSS variables
:root {
  --color-primary: #764eb3;
  --color-primary-rgb: 118 78 179;
  --color-primary-hsl: 264 40% 50%;
}
Gradient
.gradient-764eb3 {
  background: linear-gradient(135deg, #764eb3, #a84eb3);
}
Colored shadow
.shadow-764eb3 {
  box-shadow: 0 8px 24px rgb(118 78 179 / 0.35);
}

Royal Purple
#764eb3  rgb(118, 78, 179)  hsl(264, 40%, 50%)  Royal Purple
#8bb34e  rgb(139, 179, 78)  hsl(84, 40%, 50%)  Olivine
#b3764e  rgb(179, 118, 78)  hsl(24, 40%, 50%)  Cafe au Lait
#4eb376  rgb(78, 179, 118)  hsl(144, 40%, 50%)  Medium Sea Green