#C170BF#C170BF
#C170BF is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.2% C 0.144 H 327.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C170BF |
|---|---|
| RGB | rgb(193, 112, 191) |
| HSL | hsl(301, 40%, 60%) |
| HSV | hsv(301, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 1%, 24.3%) |
| CIE-LAB | lab(58.69, 43.79, -28.03) |
| CIE-LCH | lch(58.69, 51.99, 327.37°) |
| OKLab | oklab(66.16% 0.122 -0.0765) |
| OKLCH | oklch(66.16% 0.144 327.9) |
| XYZ | xyz(37.1898, 26.6892, 52.4727) |
| Luminance | 0.2669 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 1.87
Orchid
#DA70D6
ΔE00 5.10
Soft Purple
#A66FB5
ΔE00 5.42
Purplish Pink
#CE5DAE
ΔE00 5.69
Pale Magenta
#D767AD
ΔE00 6.64
Wisteria
#A87DC2
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170BF #70C172
analogous
#9A70C1 #C170BF #C17097
triadic
#C170BF #BFC170 #70BFC1
tetradic
#C170BF #C19A70 #70C172 #7097C1
square
#C170BF #C19A70 #70C172 #7097C1
split-complementary
#C170BF #97C170 #70C19A
monochromatic
#7F377E #AA4AA8 #C170BF #D49BD2 #E6C5E5
Accessibility & contrast
On white
3.31
#C170BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#C170BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170BF
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170BF | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#8091BC
Tritanopia (blue-blind)
#C6778F
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c170bf; /* rgb */ color: rgb(193, 112, 191); /* oklch */ color: oklch(66.2% 0.144 327.9);
Tailwind
colors: {
custom: {
50: '#d59bd2',
500: '#c170bf',
950: '#000000',
},
}SCSS
$custom: #c170bf; $custom-light: #d59bd2; $custom-dark: #000000;
JSON
{
"hex": "#c170bf",
"rgb": {
"r": 193,
"g": 112,
"b": 191
},
"hsl": {
"h": 301.481,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.66163,
"c": 0.14401,
"h": 327.9
},
"luminance": 0.26687
}Semantic roles & 50–950 ramp
primary
#C170BF
secondary
#B7D6B8
accent
#CF5B58
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82