#C166CD#C166CD
#C166CD is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.3% C 0.174 H 322.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C166CD |
|---|---|
| RGB | rgb(193, 102, 205) |
| HSL | hsl(293, 51%, 60%) |
| HSV | hsv(293, 50%, 80%) |
| CMYK | cmyk(5.9%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(57.32, 51.55, -38.13) |
| CIE-LCH | lch(57.32, 64.12, 323.51°) |
| OKLab | oklab(65.35% 0.1388 -0.1053) |
| OKLCH | oklch(65.35% 0.174 322.8) |
| XYZ | xyz(37.7620, 25.2497, 60.6304) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.65
Orchid (survey)
#C875C4
ΔE00 5.09
Orchid
#DA70D6
ΔE00 5.40
Pinkish Purple
#D648D7
ΔE00 5.42
Pinky Purple
#C94CBE
ΔE00 5.66
Purpleish Pink
#DF4EC8
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166CD #72CD66
analogous
#8E66CD #C166CD #CD66A5
triadic
#C166CD #CDC166 #66CDC1
tetradic
#C166CD #CD8E66 #72CD66 #66A5CD
square
#C166CD #CD8E66 #72CD66 #66A5CD
split-complementary
#C166CD #A5CD66 #66CD8E
monochromatic
#802D8B #AB3DB9 #C166CD #D494DC #E6C2EB
Accessibility & contrast
On white
3.47
#C166CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#C166CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166CD
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166CD | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#C47390
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c166cd; /* rgb */ color: rgb(193, 102, 205); /* oklch */ color: oklch(65.3% 0.174 322.8);
Tailwind
colors: {
custom: {
50: '#d695dc',
500: '#c166cd',
950: '#000000',
},
}SCSS
$custom: #c166cd; $custom-light: #d695dc; $custom-dark: #000000;
JSON
{
"hex": "#c166cd",
"rgb": {
"r": 193,
"g": 102,
"b": 205
},
"hsl": {
"h": 293.01,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.65347,
"c": 0.17421,
"h": 322.8
},
"luminance": 0.25248
}Semantic roles & 50–950 ramp
primary
#C166CD
secondary
#B8DBB4
accent
#BE2739
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83