#C170B6#C170B6
#C170B6 is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.8% C 0.136 H 332.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C170B6 |
|---|---|
| RGB | rgb(193, 112, 182) |
| HSL | hsl(308, 40%, 60%) |
| HSV | hsv(308, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 5.7%, 24.3%) |
| CIE-LAB | lab(58.33, 42.16, -23.45) |
| CIE-LCH | lch(58.33, 48.24, 330.92°) |
| OKLab | oklab(65.77% 0.12 -0.0635) |
| OKLCH | oklch(65.77% 0.136 332.1) |
| XYZ | xyz(36.2297, 26.3051, 47.4160) |
| Luminance | 0.2630 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.79
Purplish Pink
#CE5DAE
ΔE00 4.80
Pale Magenta
#D767AD
ΔE00 5.29
Soft Purple
#A66FB5
ΔE00 5.93
Orchid
#DA70D6
ΔE00 6.30
Wisteria
#A87DC2
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170B6 #70C17B
analogous
#A370C1 #C170B6 #C1708E
triadic
#C170B6 #B6C170 #70B6C1
tetradic
#C170B6 #C1A370 #70C17B #708EC1
square
#C170B6 #C1A370 #70C17B #708EC1
split-complementary
#C170B6 #8EC170 #70C1A3
monochromatic
#7F3776 #AA4A9D #C170B6 #D49BCC #E6C5E2
Accessibility & contrast
On white
3.35
#C170B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#C170B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170B6
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170B6 | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E85B9
Deuteranopia (green-blind)
#8390B4
Tritanopia (blue-blind)
#C7758B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c170b6; /* rgb */ color: rgb(193, 112, 182); /* oklch */ color: oklch(65.8% 0.136 332.1);
Tailwind
colors: {
custom: {
50: '#d59bcc',
500: '#c170b6',
950: '#000000',
},
}SCSS
$custom: #c170b6; $custom-light: #d59bcc; $custom-dark: #000000;
JSON
{
"hex": "#c170b6",
"rgb": {
"r": 193,
"g": 112,
"b": 182
},
"hsl": {
"h": 308.148,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65775,
"c": 0.13573,
"h": 332.1
},
"luminance": 0.26303
}Semantic roles & 50–950 ramp
primary
#C170B6
secondary
#B7D6BB
accent
#CF6958
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82