#C170BB#C170BB
#C170BB is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.0% C 0.140 H 329.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C170BB |
|---|---|
| RGB | rgb(193, 112, 187) |
| HSL | hsl(304, 40%, 60%) |
| HSV | hsv(304, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 3.1%, 24.3%) |
| CIE-LAB | lab(58.52, 43.06, -26.00) |
| CIE-LCH | lch(58.52, 50.30, 328.87°) |
| OKLab | oklab(65.99% 0.1212 -0.0707) |
| OKLCH | oklch(65.99% 0.14 329.7) |
| XYZ | xyz(36.7556, 26.5155, 50.1860) |
| Luminance | 0.2651 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.10
Purplish Pink
#CE5DAE
ΔE00 5.22
Soft Purple
#A66FB5
ΔE00 5.56
Orchid
#DA70D6
ΔE00 5.57
Pale Magenta
#D767AD
ΔE00 6.01
Wisteria
#A87DC2
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170BB #70C176
analogous
#9E70C1 #C170BB #C17093
triadic
#C170BB #BBC170 #70BBC1
tetradic
#C170BB #C19E70 #70C176 #7093C1
square
#C170BB #C19E70 #70C176 #7093C1
split-complementary
#C170BB #93C170 #70C19E
monochromatic
#7F377A #AA4AA3 #C170BB #D49BCF #E6C5E4
Accessibility & contrast
On white
3.33
#C170BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#C170BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170BB
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170BB | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#8291B8
Tritanopia (blue-blind)
#C7768D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c170bb; /* rgb */ color: rgb(193, 112, 187); /* oklch */ color: oklch(66.0% 0.140 329.7);
Tailwind
colors: {
custom: {
50: '#d59bcf',
500: '#c170bb',
950: '#000000',
},
}SCSS
$custom: #c170bb; $custom-light: #d59bcf; $custom-dark: #000000;
JSON
{
"hex": "#c170bb",
"rgb": {
"r": 193,
"g": 112,
"b": 187
},
"hsl": {
"h": 304.444,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65988,
"c": 0.14027,
"h": 329.7
},
"luminance": 0.26514
}Semantic roles & 50–950 ramp
primary
#C170BB
secondary
#B7D6B9
accent
#CF6158
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82