#C166FB#C166FB
#C166FB is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.9% C 0.221 H 309.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C166FB |
|---|---|
| RGB | rgb(193, 102, 251) |
| HSL | hsl(277, 95%, 69%) |
| HSV | hsv(277, 59%, 98%) |
| CMYK | cmyk(23.1%, 59.4%, 0%, 1.6%) |
| CIE-LAB | lab(59.71, 60.89, -60.09) |
| CIE-LCH | lch(59.71, 85.55, 315.38°) |
| OKLab | oklab(67.88% 0.1417 -0.1692) |
| OKLCH | oklch(67.88% 0.221 309.9) |
| XYZ | xyz(44.1529, 27.8061, 94.2892) |
| Luminance | 0.2781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.30
Bright Lilac
#C95EFB
ΔE00 1.78
Easter Purple
#C071FE
ΔE00 2.34
Light Urple
#B36FF6
ΔE00 2.83
Light Purple
#BF77F6
ΔE00 3.66
Heliotrope
#D94FF5
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166FB #A0FB66
analogous
#7766FB #C166FB #FB66EB
triadic
#C166FB #FBC166 #66FBC1
tetradic
#C166FB #FB7766 #A0FB66 #66EBFB
square
#C166FB #FB7766 #A0FB66 #66EBFB
split-complementary
#C166FB #EBFB66 #66FB77
monochromatic
#8C06E1 #A92AF9 #C166FB #D9A2FD #F1DDFE
Accessibility & contrast
On white
3.20
#C166FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#C166FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166FB
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166FB | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A8CFF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#B982A7
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c166fb; /* rgb */ color: rgb(193, 102, 251); /* oklch */ color: oklch(67.9% 0.221 309.9);
Tailwind
colors: {
custom: {
50: '#d796fd',
500: '#c166fb',
950: '#000000',
},
}SCSS
$custom: #c166fb; $custom-light: #d796fd; $custom-dark: #000000;
JSON
{
"hex": "#c166fb",
"rgb": {
"r": 193,
"g": 102,
"b": 251
},
"hsl": {
"h": 276.644,
"s": 94.904,
"l": 69.216
},
"oklch": {
"l": 0.67879,
"c": 0.2207,
"h": 309.9
},
"luminance": 0.27805
}Semantic roles & 50–950 ramp
primary
#C166FB
secondary
#DAF4C9
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86