#C166B7#C166B7
#C166B7 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.3% C 0.154 H 331.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #C166B7 |
|---|---|
| RGB | rgb(193, 102, 183) |
| HSL | hsl(307, 42%, 58%) |
| HSV | hsv(307, 47%, 76%) |
| CMYK | cmyk(0%, 47.2%, 5.2%, 24.3%) |
| CIE-LAB | lab(56.35, 47.53, -27.07) |
| CIE-LCH | lch(56.35, 54.69, 330.34°) |
| OKLab | oklab(64.31% 0.135 -0.0736) |
| OKLCH | oklch(64.31% 0.154 331.4) |
| XYZ | xyz(35.2907, 24.2612, 47.6146) |
| Luminance | 0.2426 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.64
Orchid (survey)
#C875C4
ΔE00 4.18
Pinky Purple
#C94CBE
ΔE00 5.45
Pale Magenta
#D767AD
ΔE00 5.85
Soft Purple
#A66FB5
ΔE00 5.86
Purpleish Pink
#DF4EC8
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166B7 #66C170
analogous
#9D66C1 #C166B7 #C1668A
triadic
#C166B7 #B7C166 #66B7C1
tetradic
#C166B7 #C19D66 #66C170 #668AC1
square
#C166B7 #C19D66 #66C170 #668AC1
split-complementary
#C166B7 #8AC166 #66C19D
monochromatic
#7B3273 #A6439C #C166B7 #D392CB #E4BDE0
Accessibility & contrast
On white
3.59
#C166B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#C166B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166B7
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166B7 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#637FBA
Deuteranopia (green-blind)
#7C8CB4
Tritanopia (blue-blind)
#C86D86
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #c166b7; /* rgb */ color: rgb(193, 102, 183); /* oklch */ color: oklch(64.3% 0.154 331.4);
Tailwind
colors: {
custom: {
50: '#d695cd',
500: '#c166b7',
950: '#000000',
},
}SCSS
$custom: #c166b7; $custom-light: #d695cd; $custom-dark: #000000;
JSON
{
"hex": "#c166b7",
"rgb": {
"r": 193,
"g": 102,
"b": 183
},
"hsl": {
"h": 306.593,
"s": 42.326,
"l": 57.843
},
"oklch": {
"l": 0.64311,
"c": 0.1538,
"h": 331.4
},
"luminance": 0.24259
}Semantic roles & 50–950 ramp
primary
#C166B7
secondary
#AFD4B3
accent
#D26356
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D13
muted
#837E82