#C166BD#C166BD
#C166BD is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.6% C 0.159 H 328.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C166BD |
|---|---|
| RGB | rgb(193, 102, 189) |
| HSL | hsl(303, 42%, 58%) |
| HSV | hsv(303, 47%, 76%) |
| CMYK | cmyk(0%, 47.2%, 2.1%, 24.3%) |
| CIE-LAB | lab(56.60, 48.59, -30.12) |
| CIE-LCH | lch(56.60, 57.17, 328.20°) |
| OKLab | oklab(64.58% 0.1362 -0.0823) |
| OKLCH | oklch(64.58% 0.159 328.9) |
| XYZ | xyz(35.9285, 24.5163, 50.9739) |
| Luminance | 0.2451 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.01
Purplish Pink
#CE5DAE
ΔE00 4.56
Pinky Purple
#C94CBE
ΔE00 5.13
Soft Purple
#A66FB5
ΔE00 5.68
Purpleish Pink
#DF4EC8
ΔE00 5.70
Orchid
#DA70D6
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166BD #66C16A
analogous
#9766C1 #C166BD #C16690
triadic
#C166BD #BDC166 #66BDC1
tetradic
#C166BD #C19766 #66C16A #6690C1
square
#C166BD #C19766 #66C16A #6690C1
split-complementary
#C166BD #90C166 #66C197
monochromatic
#7B3278 #A643A2 #C166BD #D392D0 #E4BDE3
Accessibility & contrast
On white
3.56
#C166BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#C166BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166BD
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166BD | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#C76E89
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c166bd; /* rgb */ color: rgb(193, 102, 189); /* oklch */ color: oklch(64.6% 0.159 328.9);
Tailwind
colors: {
custom: {
50: '#d695d1',
500: '#c166bd',
950: '#000000',
},
}SCSS
$custom: #c166bd; $custom-light: #d695d1; $custom-dark: #000000;
JSON
{
"hex": "#c166bd",
"rgb": {
"r": 193,
"g": 102,
"b": 189
},
"hsl": {
"h": 302.637,
"s": 42.326,
"l": 57.843
},
"oklch": {
"l": 0.64581,
"c": 0.15916,
"h": 328.9
},
"luminance": 0.24514
}Semantic roles & 50–950 ramp
primary
#C166BD
secondary
#AFD4B1
accent
#D25B56
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#150D14
muted
#837E82