#C17CBF#C17CBF
#C17CBF is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.1% C 0.123 H 327.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C17CBF |
|---|---|
| RGB | rgb(193, 124, 191) |
| HSL | hsl(302, 36%, 62%) |
| HSV | hsv(302, 36%, 76%) |
| CMYK | cmyk(0%, 35.8%, 1%, 24.3%) |
| CIE-LAB | lab(61.23, 37.37, -24.11) |
| CIE-LCH | lch(61.23, 44.48, 327.18°) |
| OKLab | oklab(68.08% 0.104 -0.0654) |
| OKLCH | oklch(68.08% 0.123 327.8) |
| XYZ | xyz(38.6032, 29.5160, 52.9438) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.47
Lavender Pink
#DD85D7
ΔE00 5.83
Wisteria
#A87DC2
ΔE00 5.99
Orchid
#DA70D6
ΔE00 6.12
Soft Purple
#A66FB5
ΔE00 6.57
Pale Magenta
#D767AD
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17CBF #7CC17E
analogous
#A17CC1 #C17CBF #C17C9D
triadic
#C17CBF #BFC17C #7CBFC1
tetradic
#C17CBF #C1A17C #7CC17E #7C9DC1
square
#C17CBF #C1A17C #7CC17E #7C9DC1
split-complementary
#C17CBF #9DC17C #7CC1A1
monochromatic
#843F82 #AD52AB #C17CBF #D5A6D3 #E8CFE8
Accessibility & contrast
On white
3.04
#C17CBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#C17CBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C17CBF
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17CBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17CBF | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788EC1
Deuteranopia (green-blind)
#8997BD
Tritanopia (blue-blind)
#C58295
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c17cbf; /* rgb */ color: rgb(193, 124, 191); /* oklch */ color: oklch(68.1% 0.123 327.8);
Tailwind
colors: {
custom: {
50: '#d5a3d2',
500: '#c17cbf',
950: '#000000',
},
}SCSS
$custom: #c17cbf; $custom-light: #d5a3d2; $custom-dark: #000000;
JSON
{
"hex": "#c17cbf",
"rgb": {
"r": 193,
"g": 124,
"b": 191
},
"hsl": {
"h": 301.739,
"s": 35.751,
"l": 62.157
},
"oklch": {
"l": 0.68078,
"c": 0.12291,
"h": 327.8
},
"luminance": 0.29514
}Semantic roles & 50–950 ramp
primary
#C17CBF
secondary
#C0D9C0
accent
#AF3A37
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#140F14
muted
#837F82