#764CA5#764CA5
#764CA5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.141 H 303.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #764CA5 |
|---|---|
| RGB | rgb(118, 76, 165) |
| HSL | hsl(268, 37%, 47%) |
| HSV | hsv(268, 54%, 65%) |
| CMYK | cmyk(28.5%, 53.9%, 0%, 35.3%) |
| CIE-LAB | lab(40.80, 36.05, -41.60) |
| CIE-LCH | lch(40.80, 55.05, 310.91°) |
| OKLab | oklab(50.47% 0.0777 -0.1171) |
| OKLCH | oklch(50.47% 0.141 303.6) |
| XYZ | xyz(16.8457, 11.7371, 36.9680) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.55
Rebeccapurple
#663399
ΔE00 7.08
Purply
#983FB2
ΔE00 7.15
Deep Lavender
#8D5EB7
ΔE00 7.19
Bluey Purple
#6241C7
ΔE00 7.89
Iris
#6258C4
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764CA5 #7BA54C
analogous
#4C4FA5 #764CA5 #A34CA5
triadic
#764CA5 #A5764C #4CA576
tetradic
#764CA5 #A54C4F #7BA54C #4CA5A3
square
#764CA5 #A54C4F #7BA54C #4CA5A3
split-complementary
#764CA5 #A5A34C #4FA54C
monochromatic
#3A2551 #58397B #764CA5 #9571BD #B49BD1
Accessibility & contrast
On white
6.27
#764CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#764CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764CA5
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764CA5 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#6E5D71
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #764ca5; /* rgb */ color: rgb(118, 76, 165); /* oklch */ color: oklch(50.5% 0.141 303.6);
Tailwind
colors: {
custom: {
50: '#a07fc0',
500: '#764ca5',
950: '#000000',
},
}SCSS
$custom: #764ca5; $custom-light: #a07fc0; $custom-dark: #000000;
JSON
{
"hex": "#764ca5",
"rgb": {
"r": 118,
"g": 76,
"b": 165
},
"hsl": {
"h": 268.315,
"s": 36.929,
"l": 47.255
},
"oklch": {
"l": 0.50468,
"c": 0.14057,
"h": 303.6
},
"luminance": 0.11737
}Semantic roles & 50–950 ramp
primary
#764CA5
secondary
#A8BD8F
accent
#CD5B97
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81