#C186FC#C186FC
#C186FC is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.6% C 0.174 H 305.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C186FC |
|---|---|
| RGB | rgb(193, 134, 252) |
| HSL | hsl(270, 95%, 76%) |
| HSV | hsv(270, 47%, 99%) |
| CMYK | cmyk(23.4%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(66.07, 44.65, -50.53) |
| CIE-LCH | lch(66.07, 67.43, 311.47°) |
| OKLab | oklab(72.58% 0.1011 -0.1414) |
| OKLCH | oklch(72.58% 0.174 305.6) |
| XYZ | xyz(48.0845, 35.4162, 96.3794) |
| Luminance | 0.3542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.99
Light Purple
#BF77F6
ΔE00 3.61
Easter Purple
#C071FE
ΔE00 4.86
Baby Purple
#CA9BF7
ΔE00 5.79
Light Urple
#B36FF6
ΔE00 6.03
Pastel Purple
#CAA0FF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C186FC #C1FC86
analogous
#8686FC #C186FC #FC86FC
triadic
#C186FC #FCC186 #86FCC1
tetradic
#C186FC #FC8686 #C1FC86 #86FCFC
square
#C186FC #FC8686 #C1FC86 #86FCFC
split-complementary
#C186FC #FCFC86 #86FC86
monochromatic
#840FF9 #A24AFB #C186FC #E0C2FD #F0E1FE
Accessibility & contrast
On white
2.60
#C186FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#C186FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C186FC
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C186FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C186FC | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#B89AB5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c186fc; /* rgb */ color: rgb(193, 134, 252); /* oklch */ color: oklch(72.6% 0.174 305.6);
Tailwind
colors: {
custom: {
50: '#d6aafe',
500: '#c186fc',
950: '#000000',
},
}SCSS
$custom: #c186fc; $custom-light: #d6aafe; $custom-dark: #000000;
JSON
{
"hex": "#c186fc",
"rgb": {
"r": 193,
"g": 134,
"b": 252
},
"hsl": {
"h": 270,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.72585,
"c": 0.17382,
"h": 305.6
},
"luminance": 0.35416
}Semantic roles & 50–950 ramp
primary
#C186FC
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86