#764CC0#764CC0
#764CC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.174 H 296.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #764CC0 |
|---|---|
| RGB | rgb(118, 76, 192) |
| HSL | hsl(262, 48%, 53%) |
| HSV | hsv(262, 60%, 75%) |
| CMYK | cmyk(38.5%, 60.4%, 0%, 24.7%) |
| CIE-LAB | lab(42.50, 43.08, -54.77) |
| CIE-LCH | lch(42.50, 69.68, 308.19°) |
| OKLab | oklab(52.27% 0.078 -0.1558) |
| OKLCH | oklch(52.27% 0.174 296.6) |
| XYZ | xyz(19.5676, 12.8259, 51.3037) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.47
Bluey Purple
#6241C7
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.36
Iris
#6258C4
ΔE00 5.60
Bluish Purple
#703BE7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764CC0 #96C04C
analogous
#4C5CC0 #764CC0 #B04CC0
triadic
#764CC0 #C0764C #4CC076
tetradic
#764CC0 #C04C5C #96C04C #4CC0B0
square
#764CC0 #C04C5C #96C04C #4CC0B0
split-complementary
#764CC0 #C0B04C #5CC04C
monochromatic
#3F266C #5A3699 #764CC0 #9979D0 #BBA7E0
Accessibility & contrast
On white
5.89
#764CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#764CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764CC0
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764CC0 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1763BD
Tritanopia (blue-blind)
#64657F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #764cc0; /* rgb */ color: rgb(118, 76, 192); /* oklch */ color: oklch(52.3% 0.174 296.6);
Tailwind
colors: {
custom: {
50: '#a280d4',
500: '#764cc0',
950: '#000000',
},
}SCSS
$custom: #764cc0; $custom-light: #a280d4; $custom-dark: #000000;
JSON
{
"hex": "#764cc0",
"rgb": {
"r": 118,
"g": 76,
"b": 192
},
"hsl": {
"h": 261.724,
"s": 47.934,
"l": 52.549
},
"oklch": {
"l": 0.52267,
"c": 0.1742,
"h": 296.6
},
"luminance": 0.12826
}Semantic roles & 50–950 ramp
primary
#764CC0
secondary
#BBCD9B
accent
#D850A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83