#C166B8#C166B8
#C166B8 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.4% C 0.155 H 331.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C166B8 |
|---|---|
| RGB | rgb(193, 102, 184) |
| HSL | hsl(306, 42%, 58%) |
| HSV | hsv(306, 47%, 76%) |
| CMYK | cmyk(0%, 47.2%, 4.7%, 24.3%) |
| CIE-LAB | lab(56.39, 47.70, -27.58) |
| CIE-LCH | lch(56.39, 55.10, 329.97°) |
| OKLab | oklab(64.35% 0.1352 -0.0751) |
| OKLCH | oklch(64.35% 0.155 331) |
| XYZ | xyz(35.3951, 24.3029, 48.1647) |
| Luminance | 0.2430 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.79
Orchid (survey)
#C875C4
ΔE00 4.13
Pinky Purple
#C94CBE
ΔE00 5.37
Soft Purple
#A66FB5
ΔE00 5.81
Purpleish Pink
#DF4EC8
ΔE00 5.93
Pale Magenta
#D767AD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166B8 #66C16F
analogous
#9C66C1 #C166B8 #C1668A
triadic
#C166B8 #B8C166 #66B8C1
tetradic
#C166B8 #C19C66 #66C16F #668AC1
square
#C166B8 #C19C66 #66C16F #668AC1
split-complementary
#C166B8 #8AC166 #66C19C
monochromatic
#7B3274 #A6439D #C166B8 #D392CC #E4BDE0
Accessibility & contrast
On white
3.58
#C166B8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#C166B8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166B8
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166B8 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#7C8CB5
Tritanopia (blue-blind)
#C76D86
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #c166b8; /* rgb */ color: rgb(193, 102, 184); /* oklch */ color: oklch(64.4% 0.155 331.0);
Tailwind
colors: {
custom: {
50: '#d695cd',
500: '#c166b8',
950: '#000000',
},
}SCSS
$custom: #c166b8; $custom-light: #d695cd; $custom-dark: #000000;
JSON
{
"hex": "#c166b8",
"rgb": {
"r": 193,
"g": 102,
"b": 184
},
"hsl": {
"h": 305.934,
"s": 42.326,
"l": 57.843
},
"oklch": {
"l": 0.64355,
"c": 0.15467,
"h": 331
},
"luminance": 0.24301
}Semantic roles & 50–950 ramp
primary
#C166B8
secondary
#AFD4B3
accent
#D26256
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D13
muted
#837E82