#764AC0#764AC0
#764AC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.177 H 297.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #764AC0 |
|---|---|
| RGB | rgb(118, 74, 192) |
| HSL | hsl(262, 48%, 52%) |
| HSV | hsv(262, 61%, 75%) |
| CMYK | cmyk(38.5%, 61.5%, 0%, 24.7%) |
| CIE-LAB | lab(42.08, 44.19, -55.44) |
| CIE-LCH | lch(42.08, 70.90, 308.56°) |
| OKLab | oklab(51.96% 0.0803 -0.1578) |
| OKLCH | oklch(51.96% 0.177 297) |
| XYZ | xyz(19.4320, 12.5546, 51.2584) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.40
Royal Purple
#7851A9
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 5.61
Slate Blue
#6A5ACD
ΔE00 5.77
Iris
#6258C4
ΔE00 5.96
Bluish Purple
#703BE7
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764AC0 #94C04A
analogous
#4A59C0 #764AC0 #B14AC0
triadic
#764AC0 #C0764A #4AC076
tetradic
#764AC0 #C04A59 #94C04A #4AC0B1
square
#764AC0 #C04A59 #94C04A #4AC0B1
split-complementary
#764AC0 #C0B14A #59C04A
monochromatic
#3F256B #5A3598 #764AC0 #9877D0 #BBA5E0
Accessibility & contrast
On white
5.98
#764AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#764AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764AC0
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764AC0 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1062BD
Tritanopia (blue-blind)
#64647E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #764ac0; /* rgb */ color: rgb(118, 74, 192); /* oklch */ color: oklch(52.0% 0.177 297.0);
Tailwind
colors: {
custom: {
50: '#a27fd4',
500: '#764ac0',
950: '#000000',
},
}SCSS
$custom: #764ac0; $custom-light: #a27fd4; $custom-dark: #000000;
JSON
{
"hex": "#764ac0",
"rgb": {
"r": 118,
"g": 74,
"b": 192
},
"hsl": {
"h": 262.373,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.51964,
"c": 0.17702,
"h": 297
},
"luminance": 0.12555
}Semantic roles & 50–950 ramp
primary
#764AC0
secondary
#B9CD99
accent
#D850A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83