#C187EF#C187EF
#C187EF is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.157 H 308.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C187EF |
|---|---|
| RGB | rgb(193, 135, 239) |
| HSL | hsl(273, 76%, 73%) |
| HSV | hsv(273, 44%, 94%) |
| CMYK | cmyk(19.2%, 43.5%, 0%, 6.3%) |
| CIE-LAB | lab(65.67, 41.20, -44.03) |
| CIE-LCH | lch(65.67, 60.30, 313.10°) |
| OKLab | oklab(72.08% 0.098 -0.1225) |
| OKLCH | oklch(72.08% 0.157 308.6) |
| XYZ | xyz(46.2333, 34.8980, 85.9450) |
| Luminance | 0.3490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.61
Light Purple
#BF77F6
ΔE00 4.22
Baby Purple
#CA9BF7
ΔE00 5.06
Easter Purple
#C071FE
ΔE00 5.86
Pale Purple
#B790D4
ΔE00 6.19
Pastel Purple
#CAA0FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C187EF #B5EF87
analogous
#8D87EF #C187EF #EF87E9
triadic
#C187EF #EFC187 #87EFC1
tetradic
#C187EF #EF8D87 #B5EF87 #87E9EF
square
#C187EF #EF8D87 #B5EF87 #87E9EF
split-complementary
#C187EF #E9EF87 #87EF8D
monochromatic
#891EDE #A551E8 #C187EF #DDBDF6 #F1E4FB
Accessibility & contrast
On white
2.63
#C187EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#C187EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C187EF
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C187EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C187EF | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#BB97B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c187ef; /* rgb */ color: rgb(193, 135, 239); /* oklch */ color: oklch(72.1% 0.157 308.6);
Tailwind
colors: {
custom: {
50: '#d5abf4',
500: '#c187ef',
950: '#000000',
},
}SCSS
$custom: #c187ef; $custom-light: #d5abf4; $custom-dark: #000000;
JSON
{
"hex": "#c187ef",
"rgb": {
"r": 193,
"g": 135,
"b": 239
},
"hsl": {
"h": 273.462,
"s": 76.471,
"l": 73.333
},
"oklch": {
"l": 0.72083,
"c": 0.15685,
"h": 308.6
},
"luminance": 0.34897
}Semantic roles & 50–950 ramp
primary
#C187EF
secondary
#E4F3D8
accent
#D90D67
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85