#C166B6#C166B6
#C166B6 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.3% C 0.153 H 331.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C166B6 |
|---|---|
| RGB | rgb(193, 102, 182) |
| HSL | hsl(307, 42%, 58%) |
| HSV | hsv(307, 47%, 76%) |
| CMYK | cmyk(0%, 47.2%, 5.7%, 24.3%) |
| CIE-LAB | lab(56.31, 47.35, -26.56) |
| CIE-LCH | lch(56.31, 54.29, 330.71°) |
| OKLab | oklab(64.27% 0.1348 -0.0722) |
| OKLCH | oklch(64.27% 0.153 331.8) |
| XYZ | xyz(35.1870, 24.2197, 47.0684) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.51
Orchid (survey)
#C875C4
ΔE00 4.24
Pinky Purple
#C94CBE
ΔE00 5.53
Pale Magenta
#D767AD
ΔE00 5.71
Soft Purple
#A66FB5
ΔE00 5.92
Purpleish Pink
#DF4EC8
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166B6 #66C171
analogous
#9F66C1 #C166B6 #C16688
triadic
#C166B6 #B6C166 #66B6C1
tetradic
#C166B6 #C19F66 #66C171 #6688C1
square
#C166B6 #C19F66 #66C171 #6688C1
split-complementary
#C166B6 #88C166 #66C19F
monochromatic
#7B3272 #A6439A #C166B6 #D392CB #E4BDE0
Accessibility & contrast
On white
3.59
#C166B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#C166B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166B6
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166B6 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#637FB9
Deuteranopia (green-blind)
#7D8CB3
Tritanopia (blue-blind)
#C86C86
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #c166b6; /* rgb */ color: rgb(193, 102, 182); /* oklch */ color: oklch(64.3% 0.153 331.8);
Tailwind
colors: {
custom: {
50: '#d695cc',
500: '#c166b6',
950: '#000000',
},
}SCSS
$custom: #c166b6; $custom-light: #d695cc; $custom-dark: #000000;
JSON
{
"hex": "#c166b6",
"rgb": {
"r": 193,
"g": 102,
"b": 182
},
"hsl": {
"h": 307.253,
"s": 42.326,
"l": 57.843
},
"oklch": {
"l": 0.64266,
"c": 0.15293,
"h": 331.8
},
"luminance": 0.24218
}Semantic roles & 50–950 ramp
primary
#C166B6
secondary
#AFD4B4
accent
#D26556
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82