#C17CDB#C17CDB
#C17CDB is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.3% C 0.152 H 316.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C17CDB |
|---|---|
| RGB | rgb(193, 124, 219) |
| HSL | hsl(284, 57%, 67%) |
| HSV | hsv(284, 43%, 86%) |
| CMYK | cmyk(11.9%, 43.4%, 0%, 14.1%) |
| CIE-LAB | lab(62.40, 42.88, -38.06) |
| CIE-LCH | lch(62.40, 57.33, 318.40°) |
| OKLab | oklab(69.33% 0.1101 -0.1052) |
| OKLCH | oklch(69.33% 0.152 316.3) |
| XYZ | xyz(41.9843, 30.8684, 70.7507) |
| Luminance | 0.3087 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.11
Orchid (survey)
#C875C4
ΔE00 5.29
Orchid
#DA70D6
ΔE00 5.51
Wisteria
#A87DC2
ΔE00 5.90
Pale Purple
#B790D4
ΔE00 6.44
Easter Purple
#C071FE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17CDB #96DB7C
analogous
#927CDB #C17CDB #DB7CC5
triadic
#C17CDB #DBC17C #7CDBC1
tetradic
#C17CDB #DB927C #96DB7C #7CC5DB
square
#C17CDB #DB927C #96DB7C #7CC5DB
split-complementary
#C17CDB #C5DB7C #7CDB92
monochromatic
#8B30AD #AA4CCE #C17CDB #D8ACE8 #EEDCF5
Accessibility & contrast
On white
2.93
#C17CDB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#C17CDB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17CDB
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17CDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17CDB | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B93DE
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#C089A1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c17cdb; /* rgb */ color: rgb(193, 124, 219); /* oklch */ color: oklch(69.3% 0.152 316.3);
Tailwind
colors: {
custom: {
50: '#d5a3e6',
500: '#c17cdb',
950: '#000000',
},
}SCSS
$custom: #c17cdb; $custom-light: #d5a3e6; $custom-dark: #000000;
JSON
{
"hex": "#c17cdb",
"rgb": {
"r": 193,
"g": 124,
"b": 219
},
"hsl": {
"h": 283.579,
"s": 56.886,
"l": 67.255
},
"oklch": {
"l": 0.69333,
"c": 0.15227,
"h": 316.3
},
"luminance": 0.30867
}Semantic roles & 50–950 ramp
primary
#C17CDB
secondary
#D3E8CA
accent
#C4214E
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84