#C166F4#C166F4
#C166F4 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.5% C 0.213 H 311.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F4 |
|---|---|
| RGB | rgb(193, 102, 244) |
| HSL | hsl(278, 87%, 68%) |
| HSV | hsv(278, 58%, 96%) |
| CMYK | cmyk(20.9%, 58.2%, 0%, 4.3%) |
| CIE-LAB | lab(59.32, 59.40, -56.85) |
| CIE-LCH | lch(59.32, 82.22, 316.26°) |
| OKLab | oklab(67.46% 0.1417 -0.1597) |
| OKLCH | oklch(67.46% 0.213 311.6) |
| XYZ | xyz(43.0699, 27.3728, 88.5850) |
| Luminance | 0.2737 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.76
Bright Lilac
#C95EFB
ΔE00 1.79
Easter Purple
#C071FE
ΔE00 2.80
Light Urple
#B36FF6
ΔE00 3.09
Light Purple
#BF77F6
ΔE00 3.69
Heliotrope
#D94FF5
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F4 #99F466
analogous
#7A66F4 #C166F4 #F466E0
triadic
#C166F4 #F4C166 #66F4C1
tetradic
#C166F4 #F47A66 #99F466 #66E0F4
square
#C166F4 #F47A66 #99F466 #66E0F4
split-complementary
#C166F4 #E0F466 #66F47A
monochromatic
#8B0FD1 #AA2DF0 #C166F4 #D89FF8 #EFD8FC
Accessibility & contrast
On white
3.24
#C166F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#C166F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F4
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F4 | 1.00 | 3.24 | 6.47 | 6.47 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358AF9
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#BB80A4
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c166f4; /* rgb */ color: rgb(193, 102, 244); /* oklch */ color: oklch(67.5% 0.213 311.6);
Tailwind
colors: {
custom: {
50: '#d796f8',
500: '#c166f4',
950: '#000000',
},
}SCSS
$custom: #c166f4; $custom-light: #d796f8; $custom-dark: #000000;
JSON
{
"hex": "#c166f4",
"rgb": {
"r": 193,
"g": 102,
"b": 244
},
"hsl": {
"h": 278.451,
"s": 86.585,
"l": 67.843
},
"oklch": {
"l": 0.67464,
"c": 0.21347,
"h": 311.6
},
"luminance": 0.27372
}Semantic roles & 50–950 ramp
primary
#C166F4
secondary
#D5F1C5
accent
#E30253
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85