#C586EF#C586EF
#C586EF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.160 H 310.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C586EF |
|---|---|
| RGB | rgb(197, 134, 239) |
| HSL | hsl(276, 77%, 73%) |
| HSV | hsv(276, 44%, 94%) |
| CMYK | cmyk(17.6%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(65.87, 42.87, -43.68) |
| CIE-LCH | lch(65.87, 61.20, 314.46°) |
| OKLab | oklab(72.33% 0.1041 -0.1214) |
| OKLCH | oklch(72.33% 0.16 310.6) |
| XYZ | xyz(47.1282, 35.1533, 85.9472) |
| Luminance | 0.3515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.99
Light Purple
#BF77F6
ΔE00 4.20
Baby Purple
#CA9BF7
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.83
Pale Purple
#B790D4
ΔE00 6.41
Pastel Purple
#CAA0FF
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C586EF #B0EF86
analogous
#9086EF #C586EF #EF86E4
triadic
#C586EF #EFC586 #86EFC5
tetradic
#C586EF #EF9086 #B0EF86 #86E4EF
square
#C586EF #EF9086 #B0EF86 #86E4EF
split-complementary
#C586EF #E4EF86 #86EF90
monochromatic
#911DDD #AB50E8 #C586EF #DFBCF6 #F2E4FB
Accessibility & contrast
On white
2.61
#C586EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#C586EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C586EF
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C586EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C586EF | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#C096AF
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c586ef; /* rgb */ color: rgb(197, 134, 239); /* oklch */ color: oklch(72.3% 0.160 310.6);
Tailwind
colors: {
custom: {
50: '#d8aaf4',
500: '#c586ef',
950: '#000000',
},
}SCSS
$custom: #c586ef; $custom-light: #d8aaf4; $custom-dark: #000000;
JSON
{
"hex": "#c586ef",
"rgb": {
"r": 197,
"g": 134,
"b": 239
},
"hsl": {
"h": 276,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.72326,
"c": 0.1599,
"h": 310.6
},
"luminance": 0.35153
}Semantic roles & 50–950 ramp
primary
#C586EF
secondary
#E3F3D8
accent
#D90D5E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85