#764ED3#764ED3
#764ED3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.195 H 292.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #764ED3 |
|---|---|
| RGB | rgb(118, 78, 211) |
| HSL | hsl(258, 60%, 57%) |
| HSV | hsv(258, 63%, 83%) |
| CMYK | cmyk(44.1%, 63%, 0%, 17.3%) |
| CIE-LAB | lab(44.24, 47.12, -62.94) |
| CIE-LCH | lch(44.24, 78.63, 306.82°) |
| OKLab | oklab(53.95% 0.0745 -0.1798) |
| OKLCH | oklch(53.95% 0.195 292.5) |
| XYZ | xyz(21.9502, 14.0028, 63.1617) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 4.15
Purpley
#8756E4
ΔE00 4.53
Bluish Purple
#703BE7
ΔE00 4.67
Bluey Purple
#6241C7
ΔE00 5.03
Iris
#6258C4
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764ED3 #ABD34E
analogous
#4E69D3 #764ED3 #B94ED3
triadic
#764ED3 #D3764E #4ED376
tetradic
#764ED3 #D34E69 #ABD34E #4ED3B9
square
#764ED3 #D34E69 #ABD34E #4ED3B9
split-complementary
#764ED3 #D3B94E #69D34E
monochromatic
#3F2185 #572DB6 #764ED3 #9C7FDF #C2B0EB
Accessibility & contrast
On white
5.53
#764ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#764ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764ED3
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764ED3 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#5B6D89
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #764ed3; /* rgb */ color: rgb(118, 78, 211); /* oklch */ color: oklch(53.9% 0.195 292.5);
Tailwind
colors: {
custom: {
50: '#a482e1',
500: '#764ed3',
950: '#000000',
},
}SCSS
$custom: #764ed3; $custom-light: #a482e1; $custom-dark: #000000;
JSON
{
"hex": "#764ed3",
"rgb": {
"r": 118,
"g": 78,
"b": 211
},
"hsl": {
"h": 258.045,
"s": 60.181,
"l": 56.667
},
"oklch": {
"l": 0.5395,
"c": 0.19464,
"h": 292.5
},
"luminance": 0.14003
}Semantic roles & 50–950 ramp
primary
#764ED3
secondary
#C9DAA3
accent
#E344B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83