#C186FB#C186FB
#C186FB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.5% C 0.173 H 305.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C186FB |
|---|---|
| RGB | rgb(193, 134, 251) |
| HSL | hsl(270, 94%, 75%) |
| HSV | hsv(270, 47%, 98%) |
| CMYK | cmyk(23.1%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(66.02, 44.42, -50.06) |
| CIE-LCH | lch(66.02, 66.93, 311.59°) |
| OKLab | oklab(72.53% 0.101 -0.14) |
| OKLCH | oklch(72.53% 0.173 305.8) |
| XYZ | xyz(47.9264, 35.3530, 95.5471) |
| Luminance | 0.3535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.98
Light Purple
#BF77F6
ΔE00 3.59
Easter Purple
#C071FE
ΔE00 4.89
Baby Purple
#CA9BF7
ΔE00 5.73
Light Urple
#B36FF6
ΔE00 6.04
Pastel Purple
#CAA0FF
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C186FB #C0FB86
analogous
#8686FB #C186FB #FB86FB
triadic
#C186FB #FBC186 #86FBC1
tetradic
#C186FB #FB8686 #C0FB86 #86FBFB
square
#C186FB #FB8686 #C0FB86 #86FBFB
split-complementary
#C186FB #FBFB86 #86FB86
monochromatic
#8410F7 #A34BF9 #C186FB #DFC1FD #F0E1FE
Accessibility & contrast
On white
2.60
#C186FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#C186FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C186FB
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C186FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C186FB | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679EFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#B89AB5
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c186fb; /* rgb */ color: rgb(193, 134, 251); /* oklch */ color: oklch(72.5% 0.173 305.8);
Tailwind
colors: {
custom: {
50: '#d6aafd',
500: '#c186fb',
950: '#000000',
},
}SCSS
$custom: #c186fb; $custom-light: #d6aafd; $custom-dark: #000000;
JSON
{
"hex": "#c186fb",
"rgb": {
"r": 193,
"g": 134,
"b": 251
},
"hsl": {
"h": 270.256,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.72533,
"c": 0.17264,
"h": 305.8
},
"luminance": 0.35353
}Semantic roles & 50–950 ramp
primary
#C186FB
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86