#C186EB#C186EB
#C186EB is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.7% C 0.154 H 309.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C186EB |
|---|---|
| RGB | rgb(193, 134, 235) |
| HSL | hsl(275, 72%, 72%) |
| HSV | hsv(275, 43%, 92%) |
| CMYK | cmyk(17.9%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(65.27, 40.87, -42.45) |
| CIE-LCH | lch(65.27, 58.93, 313.91°) |
| OKLab | oklab(71.72% 0.0987 -0.1179) |
| OKLCH | oklch(71.72% 0.154 309.9) |
| XYZ | xyz(45.5101, 34.3865, 82.8209) |
| Luminance | 0.3439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.28
Light Purple
#BF77F6
ΔE00 4.34
Baby Purple
#CA9BF7
ΔE00 5.32
Pale Purple
#B790D4
ΔE00 5.81
Easter Purple
#C071FE
ΔE00 6.04
Lavender (survey)
#C79FEF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C186EB #B0EB86
analogous
#8F86EB #C186EB #EB86E2
triadic
#C186EB #EBC186 #86EBC1
tetradic
#C186EB #EB8F86 #B0EB86 #86E2EB
square
#C186EB #EB8F86 #B0EB86 #86E2EB
split-complementary
#C186EB #E2EB86 #86EB8F
monochromatic
#8A23D4 #A651E2 #C186EB #DCBBF4 #F2E5FB
Accessibility & contrast
On white
2.67
#C186EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#C186EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C186EB
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C186EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C186EB | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#BC95AD
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c186eb; /* rgb */ color: rgb(193, 134, 235); /* oklch */ color: oklch(71.7% 0.154 309.9);
Tailwind
colors: {
custom: {
50: '#d5aaf2',
500: '#c186eb',
950: '#000000',
},
}SCSS
$custom: #c186eb; $custom-light: #d5aaf2; $custom-dark: #000000;
JSON
{
"hex": "#c186eb",
"rgb": {
"r": 193,
"g": 134,
"b": 235
},
"hsl": {
"h": 275.05,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.71722,
"c": 0.15378,
"h": 309.9
},
"luminance": 0.34386
}Semantic roles & 50–950 ramp
primary
#C186EB
secondary
#E3F2D9
accent
#D41262
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85