#764EC2

#764ec2 ≈ Royal Purple

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

#764ec2 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 76.08% blue; printed in CMYK it uses 39.18% cyan, 59.79% magenta, 0% yellow and 23.92% black. Its hue angle is 260.69°, with 48.74% saturation and 53.33% 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.77:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.63.

Description generated from the measured properties of this color.

Conversions of #764ec2 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.132

Readable text 5.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #6d5d94 ≈ 0.001% of males
Protanopia #0066c6 ≈ 1.01% of males
Deuteranopia #1864bf ≈ 1.27% of males
Tritanopia #636780 ≈ 0.0001% of males
Protanomaly #4b5ec4 ≈ 1.08% of males
Deuteranomaly #4f5cc0 ≈ 4.63% of males
Tritanomaly #6b5e9f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-764ec2 {
  color: #764ec2;
}
Background
.bg-764ec2 {
  background-color: #764ec2;
  color: #ffffff;
}
Border
.border-764ec2 {
  border: 2px solid #764ec2;
}
CSS variables
:root {
  --color-primary: #764ec2;
  --color-primary-rgb: 118 78 194;
  --color-primary-hsl: 261 49% 53%;
}
Gradient
.gradient-764ec2 {
  background: linear-gradient(135deg, #764ec2, #b04ec2);
}
Colored shadow
.shadow-764ec2 {
  box-shadow: 0 8px 24px rgb(118 78 194 / 0.35);
}

Royal Purple
#764ec2  rgb(118, 78, 194)  hsl(261, 49%, 53%)  Royal Purple
#9ac24e  rgb(154, 194, 78)  hsl(81, 49%, 53%)  Yellow Green
#c2764e  rgb(194, 118, 78)  hsl(21, 49%, 53%)  Raw Sienna
#4ec276  rgb(78, 194, 118)  hsl(141, 49%, 53%)  Emerald