#C186EF#C186EF
#C186EF is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.158 H 308.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C186EF |
|---|---|
| RGB | rgb(193, 134, 239) |
| HSL | hsl(274, 77%, 73%) |
| HSV | hsv(274, 44%, 94%) |
| CMYK | cmyk(19.2%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(65.45, 41.75, -44.37) |
| CIE-LCH | lch(65.45, 60.92, 313.26°) |
| OKLab | oklab(71.92% 0.0993 -0.1235) |
| OKLCH | oklch(71.92% 0.158 308.8) |
| XYZ | xyz(46.0944, 34.6202, 85.8987) |
| Luminance | 0.3462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.75
Light Purple
#BF77F6
ΔE00 3.97
Baby Purple
#CA9BF7
ΔE00 5.30
Easter Purple
#C071FE
ΔE00 5.63
Pale Purple
#B790D4
ΔE00 6.35
Pastel Purple
#CAA0FF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C186EF #B4EF86
analogous
#8C86EF #C186EF #EF86E9
triadic
#C186EF #EFC186 #86EFC1
tetradic
#C186EF #EF8C86 #B4EF86 #86E9EF
square
#C186EF #EF8C86 #B4EF86 #86E9EF
split-complementary
#C186EF #E9EF86 #86EF8C
monochromatic
#891DDD #A550E8 #C186EF #DDBCF6 #F1E4FB
Accessibility & contrast
On white
2.65
#C186EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#C186EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C186EF
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C186EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C186EF | 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)
#6E9CF3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#BB97AF
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c186ef; /* rgb */ color: rgb(193, 134, 239); /* oklch */ color: oklch(71.9% 0.158 308.8);
Tailwind
colors: {
custom: {
50: '#d5aaf4',
500: '#c186ef',
950: '#000000',
},
}SCSS
$custom: #c186ef; $custom-light: #d5aaf4; $custom-dark: #000000;
JSON
{
"hex": "#c186ef",
"rgb": {
"r": 193,
"g": 134,
"b": 239
},
"hsl": {
"h": 273.714,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.7192,
"c": 0.15848,
"h": 308.8
},
"luminance": 0.3462
}Semantic roles & 50–950 ramp
primary
#C186EF
secondary
#E4F3D8
accent
#D90D66
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85