#C186FA#C186FA
#C186FA is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.171 H 306.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C186FA |
|---|---|
| RGB | rgb(193, 134, 250) |
| HSL | hsl(271, 92%, 75%) |
| HSV | hsv(271, 46%, 98%) |
| CMYK | cmyk(22.8%, 46.4%, 0%, 2%) |
| CIE-LAB | lab(65.97, 44.20, -49.59) |
| CIE-LCH | lch(65.97, 66.43, 311.71°) |
| OKLab | oklab(72.48% 0.1009 -0.1386) |
| OKLCH | oklch(72.48% 0.171 306) |
| XYZ | xyz(47.7692, 35.2901, 94.7191) |
| Luminance | 0.3529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.98
Light Purple
#BF77F6
ΔE00 3.58
Easter Purple
#C071FE
ΔE00 4.92
Baby Purple
#CA9BF7
ΔE00 5.67
Light Urple
#B36FF6
ΔE00 6.06
Pastel Purple
#CAA0FF
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C186FA #BFFA86
analogous
#8786FA #C186FA #FA86F9
triadic
#C186FA #FAC186 #86FAC1
tetradic
#C186FA #FA8786 #BFFA86 #86F9FA
square
#C186FA #FA8786 #BFFA86 #86F9FA
split-complementary
#C186FA #F9FA86 #86FA87
monochromatic
#8510F5 #A34BF8 #C186FA #DFC1FC #F0E2FE
Accessibility & contrast
On white
2.61
#C186FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#C186FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C186FA
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C186FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C186FA | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#B89AB4
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c186fa; /* rgb */ color: rgb(193, 134, 250); /* oklch */ color: oklch(72.5% 0.171 306.0);
Tailwind
colors: {
custom: {
50: '#d6aafc',
500: '#c186fa',
950: '#000000',
},
}SCSS
$custom: #c186fa; $custom-light: #d6aafc; $custom-dark: #000000;
JSON
{
"hex": "#c186fa",
"rgb": {
"r": 193,
"g": 134,
"b": 250
},
"hsl": {
"h": 270.517,
"s": 92.063,
"l": 75.294
},
"oklch": {
"l": 0.72481,
"c": 0.17146,
"h": 306
},
"luminance": 0.3529
}Semantic roles & 50–950 ramp
primary
#C186FA
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85