#C587EC#C587EC
#C587EC is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.3% C 0.155 H 311.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C587EC |
|---|---|
| RGB | rgb(197, 135, 236) |
| HSL | hsl(277, 73%, 73%) |
| HSV | hsv(277, 43%, 93%) |
| CMYK | cmyk(16.5%, 42.8%, 0%, 7.5%) |
| CIE-LAB | lab(65.95, 41.68, -41.91) |
| CIE-LCH | lch(65.95, 59.11, 314.85°) |
| OKLab | oklab(72.34% 0.1022 -0.1163) |
| OKLCH | oklch(72.34% 0.155 311.3) |
| XYZ | xyz(46.8276, 35.2552, 83.6787) |
| Luminance | 0.3525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.31
Light Purple
#BF77F6
ΔE00 4.71
Baby Purple
#CA9BF7
ΔE00 5.02
Pale Purple
#B790D4
ΔE00 5.88
Lavender (survey)
#C79FEF
ΔE00 6.29
Easter Purple
#C071FE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C587EC #AEEC87
analogous
#9387EC #C587EC #EC87E0
triadic
#C587EC #ECC587 #87ECC5
tetradic
#C587EC #EC9387 #AEEC87 #87E0EC
square
#C587EC #EC9387 #AEEC87 #87E0EC
split-complementary
#C587EC #E0EC87 #87EC93
monochromatic
#9122D7 #AB52E4 #C587EC #DFBCF4 #F2E5FB
Accessibility & contrast
On white
2.61
#C587EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#C587EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C587EC
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C587EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C587EC | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#C196AE
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c587ec; /* rgb */ color: rgb(197, 135, 236); /* oklch */ color: oklch(72.3% 0.155 311.3);
Tailwind
colors: {
custom: {
50: '#d8abf2',
500: '#c587ec',
950: '#000000',
},
}SCSS
$custom: #c587ec; $custom-light: #d8abf2; $custom-dark: #000000;
JSON
{
"hex": "#c587ec",
"rgb": {
"r": 197,
"g": 135,
"b": 236
},
"hsl": {
"h": 276.832,
"s": 72.662,
"l": 72.745
},
"oklch": {
"l": 0.7234,
"c": 0.15479,
"h": 311.3
},
"luminance": 0.35254
}Semantic roles & 50–950 ramp
primary
#C587EC
secondary
#E3F2D9
accent
#D5115C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85