#764ED2#764ED2
#764ED2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.193 H 292.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #764ED2 |
|---|---|
| RGB | rgb(118, 78, 210) |
| HSL | hsl(258, 59%, 56%) |
| HSV | hsv(258, 63%, 82%) |
| CMYK | cmyk(43.8%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(44.17, 46.85, -62.48) |
| CIE-LCH | lch(44.17, 78.10, 306.86°) |
| OKLab | oklab(53.87% 0.0746 -0.1785) |
| OKLCH | oklch(53.87% 0.193 292.7) |
| XYZ | xyz(21.8253, 13.9528, 62.5035) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.15
Purpley
#8756E4
ΔE00 4.61
Bluish Purple
#703BE7
ΔE00 4.74
Bluey Purple
#6241C7
ΔE00 4.99
Iris
#6258C4
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764ED2 #AAD24E
analogous
#4E68D2 #764ED2 #B84ED2
triadic
#764ED2 #D2764E #4ED276
tetradic
#764ED2 #D24E68 #AAD24E #4ED2B8
square
#764ED2 #D24E68 #AAD24E #4ED2B8
split-complementary
#764ED2 #D2B84E #68D24E
monochromatic
#3F2284 #572EB5 #764ED2 #9C7FDE #C2B0EB
Accessibility & contrast
On white
5.54
#764ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#764ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764ED2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764ED2 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5C6D89
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #764ed2; /* rgb */ color: rgb(118, 78, 210); /* oklch */ color: oklch(53.9% 0.193 292.7);
Tailwind
colors: {
custom: {
50: '#a482e1',
500: '#764ed2',
950: '#000000',
},
}SCSS
$custom: #764ed2; $custom-light: #a482e1; $custom-dark: #000000;
JSON
{
"hex": "#764ed2",
"rgb": {
"r": 118,
"g": 78,
"b": 210
},
"hsl": {
"h": 258.182,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.53875,
"c": 0.19343,
"h": 292.7
},
"luminance": 0.13953
}Semantic roles & 50–950 ramp
primary
#764ED2
secondary
#C9D9A3
accent
#E345B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83