#C186EE#C186EE
#C186EE is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.157 H 309.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C186EE |
|---|---|
| RGB | rgb(193, 134, 238) |
| HSL | hsl(274, 75%, 73%) |
| HSV | hsv(274, 44%, 93%) |
| CMYK | cmyk(18.9%, 43.7%, 0%, 6.7%) |
| CIE-LAB | lab(65.41, 41.53, -43.89) |
| CIE-LCH | lch(65.41, 60.42, 313.42°) |
| OKLab | oklab(71.87% 0.0992 -0.1221) |
| OKLCH | oklch(71.87% 0.157 309.1) |
| XYZ | xyz(45.9471, 34.5613, 85.1228) |
| Luminance | 0.3456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.87
Light Purple
#BF77F6
ΔE00 4.06
Baby Purple
#CA9BF7
ΔE00 5.30
Easter Purple
#C071FE
ΔE00 5.73
Pale Purple
#B790D4
ΔE00 6.21
Pastel Purple
#CAA0FF
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C186EE #B3EE86
analogous
#8D86EE #C186EE #EE86E7
triadic
#C186EE #EEC186 #86EEC1
tetradic
#C186EE #EE8D86 #B3EE86 #86E7EE
square
#C186EE #EE8D86 #B3EE86 #86E7EE
split-complementary
#C186EE #E7EE86 #86EE8D
monochromatic
#891FDB #A650E6 #C186EE #DCBCF6 #F1E4FB
Accessibility & contrast
On white
2.65
#C186EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#C186EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C186EE
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C186EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C186EE | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#BB96AF
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c186ee; /* rgb */ color: rgb(193, 134, 238); /* oklch */ color: oklch(71.9% 0.157 309.1);
Tailwind
colors: {
custom: {
50: '#d5aaf4',
500: '#c186ee',
950: '#000000',
},
}SCSS
$custom: #c186ee; $custom-light: #d5aaf4; $custom-dark: #000000;
JSON
{
"hex": "#c186ee",
"rgb": {
"r": 193,
"g": 134,
"b": 238
},
"hsl": {
"h": 274.038,
"s": 75.362,
"l": 72.941
},
"oklch": {
"l": 0.7187,
"c": 0.15731,
"h": 309.1
},
"luminance": 0.34561
}Semantic roles & 50–950 ramp
primary
#C186EE
secondary
#E4F3D8
accent
#D80E65
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85