#764CD2#764CD2
#764CD2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.196 H 293.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #764CD2 |
|---|---|
| RGB | rgb(118, 76, 210) |
| HSL | hsl(259, 60%, 56%) |
| HSV | hsv(259, 64%, 82%) |
| CMYK | cmyk(43.8%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(43.76, 47.94, -63.14) |
| CIE-LCH | lch(43.76, 79.28, 307.21°) |
| OKLab | oklab(53.58% 0.0767 -0.1804) |
| OKLCH | oklch(53.58% 0.196 293) |
| XYZ | xyz(21.6853, 13.6729, 62.4569) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.26
Bluish Purple
#703BE7
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 4.65
Purpley
#8756E4
ΔE00 4.91
Purpleish Blue
#6140EF
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764CD2 #A8D24C
analogous
#4C65D2 #764CD2 #B94CD2
triadic
#764CD2 #D2764C #4CD276
tetradic
#764CD2 #D24C65 #A8D24C #4CD2B9
square
#764CD2 #D24C65 #A8D24C #4CD2B9
split-complementary
#764CD2 #D2B94C #65D24C
monochromatic
#402183 #572DB4 #764CD2 #9B7DDE #C1AEEB
Accessibility & contrast
On white
5.62
#764CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#764CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764CD2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764CD2 | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#5C6B88
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #764cd2; /* rgb */ color: rgb(118, 76, 210); /* oklch */ color: oklch(53.6% 0.196 293.0);
Tailwind
colors: {
custom: {
50: '#a480e1',
500: '#764cd2',
950: '#000000',
},
}SCSS
$custom: #764cd2; $custom-light: #a480e1; $custom-dark: #000000;
JSON
{
"hex": "#764cd2",
"rgb": {
"r": 118,
"g": 76,
"b": 210
},
"hsl": {
"h": 258.806,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.53582,
"c": 0.19604,
"h": 293
},
"luminance": 0.13674
}Semantic roles & 50–950 ramp
primary
#764CD2
secondary
#C7D9A1
accent
#E345B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83