#764FA4

#764fa4 ≈ Royal Purple

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

#764fa4 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.98% green and 64.31% blue; printed in CMYK it uses 28.05% cyan, 51.83% magenta, 0% yellow and 35.69% black. Its hue angle is 267.53°, with 34.98% saturation and 47.65% 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 6.13:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.03.

Description generated from the measured properties of this color.

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

Readable text 6.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6a5b81 ≈ 0.001% of males
Protanopia #3461a7 ≈ 1.01% of males
Deuteranopia #3f62a2 ≈ 1.27% of males
Tritanopia #6e5f72 ≈ 0.0001% of males
Protanomaly #565aa6 ≈ 1.08% of males
Deuteranomaly #5a5ba3 ≈ 4.63% of males
Tritanomaly #715989 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-764fa4 {
  color: #764fa4;
}
Background
.bg-764fa4 {
  background-color: #764fa4;
  color: #ffffff;
}
Border
.border-764fa4 {
  border: 2px solid #764fa4;
}
CSS variables
:root {
  --color-primary: #764fa4;
  --color-primary-rgb: 118 79 164;
  --color-primary-hsl: 268 35% 48%;
}
Gradient
.gradient-764fa4 {
  background: linear-gradient(135deg, #764fa4, #a14fa4);
}
Colored shadow
.shadow-764fa4 {
  box-shadow: 0 8px 24px rgb(118 79 164 / 0.35);
}

Royal Purple
#764fa4  rgb(118, 79, 164)  hsl(268, 35%, 48%)  Royal Purple
#7da44f  rgb(125, 164, 79)  hsl(88, 35%, 48%)  Asparagus
#a4764f  rgb(164, 118, 79)  hsl(28, 35%, 48%)  Cafe au Lait
#4fa476  rgb(79, 164, 118)  hsl(148, 35%, 48%)  Jade