#C17FBF#C17FBF
#C17FBF is a light, moderate purple. Relative luminance 0.303; OKLCH L 68.6% C 0.118 H 327.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C17FBF |
|---|---|
| RGB | rgb(193, 127, 191) |
| HSL | hsl(302, 35%, 63%) |
| HSV | hsv(302, 34%, 76%) |
| CMYK | cmyk(0%, 34.2%, 1%, 24.3%) |
| CIE-LAB | lab(61.89, 35.75, -23.10) |
| CIE-LCH | lch(61.89, 42.56, 327.13°) |
| OKLab | oklab(68.58% 0.0995 -0.0626) |
| OKLCH | oklch(68.58% 0.118 327.8) |
| XYZ | xyz(38.9849, 30.2794, 53.0711) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.23
Lavender Pink
#DD85D7
ΔE00 5.72
Wisteria
#A87DC2
ΔE00 6.09
Orchid
#DA70D6
ΔE00 6.65
Pale Purple
#B790D4
ΔE00 6.98
Soft Purple
#A66FB5
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17FBF #7FC181
analogous
#A27FC1 #C17FBF #C17F9E
triadic
#C17FBF #BFC17F #7FBFC1
tetradic
#C17FBF #C1A27F #7FC181 #7F9EC1
square
#C17FBF #C1A27F #7FC181 #7F9EC1
split-complementary
#C17FBF #9EC17F #7FC1A2
monochromatic
#854083 #AD56AA #C17FBF #D5A8D4 #E9D1E8
Accessibility & contrast
On white
2.98
#C17FBF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#C17FBF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17FBF
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17FBF | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#8B99BD
Tritanopia (blue-blind)
#C58497
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c17fbf; /* rgb */ color: rgb(193, 127, 191); /* oklch */ color: oklch(68.6% 0.118 327.8);
Tailwind
colors: {
custom: {
50: '#d5a5d2',
500: '#c17fbf',
950: '#000000',
},
}SCSS
$custom: #c17fbf; $custom-light: #d5a5d2; $custom-dark: #000000;
JSON
{
"hex": "#c17fbf",
"rgb": {
"r": 193,
"g": 127,
"b": 191
},
"hsl": {
"h": 301.818,
"s": 34.737,
"l": 62.745
},
"oklch": {
"l": 0.68577,
"c": 0.11754,
"h": 327.8
},
"luminance": 0.30278
}Semantic roles & 50–950 ramp
primary
#C17FBF
secondary
#C2DAC3
accent
#AE3B38
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#140F14
muted
#837F82