#C586E5#C586E5
#C586E5 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.8% C 0.148 H 313.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C586E5 |
|---|---|
| RGB | rgb(197, 134, 229) |
| HSL | hsl(280, 65%, 71%) |
| HSV | hsv(280, 41%, 90%) |
| CMYK | cmyk(14%, 41.5%, 0%, 10.2%) |
| CIE-LAB | lab(65.42, 40.74, -38.87) |
| CIE-LCH | lch(65.42, 56.31, 316.35°) |
| OKLab | oklab(71.84% 0.1023 -0.1075) |
| OKLCH | oklch(71.84% 0.148 313.6) |
| XYZ | xyz(45.6916, 34.5786, 78.3809) |
| Luminance | 0.3458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.52
Pale Purple
#B790D4
ΔE00 5.26
Light Purple
#BF77F6
ΔE00 5.36
Baby Purple
#CA9BF7
ΔE00 5.56
Lavender Pink
#DD85D7
ΔE00 6.47
Lavender (survey)
#C79FEF
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C586E5 #A6E586
analogous
#9586E5 #C586E5 #E586D6
triadic
#C586E5 #E5C586 #86E5C5
tetradic
#C586E5 #E59586 #A6E586 #86D6E5
square
#C586E5 #E59586 #A6E586 #86D6E5
split-complementary
#C586E5 #D6E586 #86E595
monochromatic
#922BC6 #AD54DA #C586E5 #DDB8F0 #F3E6FA
Accessibility & contrast
On white
2.65
#C586E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#C586E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C586E5
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C586E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C586E5 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#84A0E2
Tritanopia (blue-blind)
#C393AB
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c586e5; /* rgb */ color: rgb(197, 134, 229); /* oklch */ color: oklch(71.8% 0.148 313.6);
Tailwind
colors: {
custom: {
50: '#d8aaed',
500: '#c586e5',
950: '#000000',
},
}SCSS
$custom: #c586e5; $custom-light: #d8aaed; $custom-dark: #000000;
JSON
{
"hex": "#c586e5",
"rgb": {
"r": 197,
"g": 134,
"b": 229
},
"hsl": {
"h": 279.789,
"s": 64.626,
"l": 71.176
},
"oklch": {
"l": 0.71842,
"c": 0.14843,
"h": 313.6
},
"luminance": 0.34578
}Semantic roles & 50–950 ramp
primary
#C586E5
secondary
#DFF0D7
accent
#CC1955
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151016
muted
#837F84