#C170B9#C170B9
#C170B9 is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.9% C 0.138 H 330.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #C170B9 |
|---|---|
| RGB | rgb(193, 112, 185) |
| HSL | hsl(306, 40%, 60%) |
| HSV | hsv(306, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 4.1%, 24.3%) |
| CIE-LAB | lab(58.44, 42.70, -24.98) |
| CIE-LCH | lch(58.44, 49.47, 329.67°) |
| OKLab | oklab(65.9% 0.1207 -0.0678) |
| OKLCH | oklch(65.9% 0.138 330.7) |
| XYZ | xyz(36.5430, 26.4305, 49.0663) |
| Luminance | 0.2643 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.33
Purplish Pink
#CE5DAE
ΔE00 5.03
Soft Purple
#A66FB5
ΔE00 5.68
Pale Magenta
#D767AD
ΔE00 5.71
Orchid
#DA70D6
ΔE00 5.85
Wisteria
#A87DC2
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170B9 #70C178
analogous
#A170C1 #C170B9 #C17091
triadic
#C170B9 #B9C170 #70B9C1
tetradic
#C170B9 #C1A170 #70C178 #7091C1
square
#C170B9 #C1A170 #70C178 #7091C1
split-complementary
#C170B9 #91C170 #70C1A1
monochromatic
#7F3778 #AA4AA1 #C170B9 #D49BCE #E6C5E3
Accessibility & contrast
On white
3.34
#C170B9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#C170B9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170B9
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170B9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170B9 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D86BC
Deuteranopia (green-blind)
#8291B7
Tritanopia (blue-blind)
#C7768C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c170b9; /* rgb */ color: rgb(193, 112, 185); /* oklch */ color: oklch(65.9% 0.138 330.7);
Tailwind
colors: {
custom: {
50: '#d59bce',
500: '#c170b9',
950: '#000000',
},
}SCSS
$custom: #c170b9; $custom-light: #d59bce; $custom-dark: #000000;
JSON
{
"hex": "#c170b9",
"rgb": {
"r": 193,
"g": 112,
"b": 185
},
"hsl": {
"h": 305.926,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65902,
"c": 0.13844,
"h": 330.7
},
"luminance": 0.26429
}Semantic roles & 50–950 ramp
primary
#C170B9
secondary
#B7D6BA
accent
#CF6458
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E13
muted
#837E82