#C166F2#C166F2
#C166F2 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.3% C 0.211 H 312.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F2 |
|---|---|
| RGB | rgb(193, 102, 242) |
| HSL | hsl(279, 84%, 67%) |
| HSV | hsv(279, 58%, 95%) |
| CMYK | cmyk(20.2%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(59.21, 58.98, -55.92) |
| CIE-LCH | lch(59.21, 81.27, 316.53°) |
| OKLab | oklab(67.35% 0.1416 -0.157) |
| OKLCH | oklch(67.35% 0.211 312.1) |
| XYZ | xyz(42.7678, 27.2520, 86.9944) |
| Luminance | 0.2725 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.90
Bright Lavender
#C760FF
ΔE00 1.98
Easter Purple
#C071FE
ΔE00 2.99
Light Urple
#B36FF6
ΔE00 3.22
Light Purple
#BF77F6
ΔE00 3.74
Heliotrope
#D94FF5
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F2 #97F266
analogous
#7B66F2 #C166F2 #F266DD
triadic
#C166F2 #F2C166 #66F2C1
tetradic
#C166F2 #F27B66 #97F266 #66DDF2
square
#C166F2 #F27B66 #97F266 #66DDF2
split-complementary
#C166F2 #DDF266 #66F27B
monochromatic
#8B11CC #AA2EED #C166F2 #D89EF7 #EFD7FC
Accessibility & contrast
On white
3.26
#C166F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#C166F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F2 | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#BC7FA3
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c166f2; /* rgb */ color: rgb(193, 102, 242); /* oklch */ color: oklch(67.3% 0.211 312.1);
Tailwind
colors: {
custom: {
50: '#d796f7',
500: '#c166f2',
950: '#000000',
},
}SCSS
$custom: #c166f2; $custom-light: #d796f7; $custom-dark: #000000;
JSON
{
"hex": "#c166f2",
"rgb": {
"r": 193,
"g": 102,
"b": 242
},
"hsl": {
"h": 279,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.67347,
"c": 0.21143,
"h": 312.1
},
"luminance": 0.27251
}Semantic roles & 50–950 ramp
primary
#C166F2
secondary
#D3F0C4
accent
#E10552
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85