#C166F7#C166F7
#C166F7 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.6% C 0.217 H 310.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C166F7 |
|---|---|
| RGB | rgb(193, 102, 247) |
| HSL | hsl(278, 90%, 68%) |
| HSV | hsv(278, 59%, 97%) |
| CMYK | cmyk(21.9%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(59.49, 60.03, -58.24) |
| CIE-LCH | lch(59.49, 83.64, 315.87°) |
| OKLab | oklab(67.64% 0.1417 -0.1638) |
| OKLCH | oklch(67.64% 0.217 310.9) |
| XYZ | xyz(43.5291, 27.5565, 91.0035) |
| Luminance | 0.2756 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.50
Bright Lilac
#C95EFB
ΔE00 1.71
Easter Purple
#C071FE
ΔE00 2.57
Light Urple
#B36FF6
ΔE00 2.93
Light Purple
#BF77F6
ΔE00 3.64
Heliotrope
#D94FF5
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166F7 #9CF766
analogous
#7866F7 #C166F7 #F766E5
triadic
#C166F7 #F7C166 #66F7C1
tetradic
#C166F7 #F77866 #9CF766 #66E5F7
square
#C166F7 #F77866 #9CF766 #66E5F7
split-complementary
#C166F7 #E5F766 #66F778
monochromatic
#8B0BD7 #A92CF4 #C166F7 #D9A0FA #F0DAFD
Accessibility & contrast
On white
3.23
#C166F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#C166F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166F7
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166F7 | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#318BFC
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#BA81A5
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c166f7; /* rgb */ color: rgb(193, 102, 247); /* oklch */ color: oklch(67.6% 0.217 310.9);
Tailwind
colors: {
custom: {
50: '#d796fa',
500: '#c166f7',
950: '#000000',
},
}SCSS
$custom: #c166f7; $custom-light: #d796fa; $custom-dark: #000000;
JSON
{
"hex": "#c166f7",
"rgb": {
"r": 193,
"g": 102,
"b": 247
},
"hsl": {
"h": 277.655,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.67641,
"c": 0.21656,
"h": 310.9
},
"luminance": 0.27556
}Semantic roles & 50–950 ramp
primary
#C166F7
secondary
#D7F2C7
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85