#C17CD2#C17CD2
#C17CD2 is a light, vivid purple. Relative luminance 0.304; OKLCH L 68.9% C 0.142 H 319.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C17CD2 |
|---|---|
| RGB | rgb(193, 124, 210) |
| HSL | hsl(288, 49%, 65%) |
| HSV | hsv(288, 41%, 82%) |
| CMYK | cmyk(8.1%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(62.00, 41.05, -33.63) |
| CIE-LCH | lch(62.00, 53.07, 320.67°) |
| OKLab | oklab(68.91% 0.1084 -0.0925) |
| OKLCH | oklch(68.91% 0.142 319.5) |
| XYZ | xyz(40.8313, 30.4072, 64.6786) |
| Luminance | 0.3041 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.75
Orchid
#DA70D6
ΔE00 5.03
Wisteria
#A87DC2
ΔE00 5.26
Lavender Pink
#DD85D7
ΔE00 5.85
Pale Purple
#B790D4
ΔE00 6.21
Light Purple
#BF77F6
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17CD2 #8DD27C
analogous
#967CD2 #C17CD2 #D27CB8
triadic
#C17CD2 #D2C17C #7CD2C1
tetradic
#C17CD2 #D2967C #8DD27C #7CB8D2
square
#C17CD2 #D2967C #8DD27C #7CB8D2
split-complementary
#C17CD2 #B8D27C #7CD296
monochromatic
#89369D #AB4EC2 #C17CD2 #D7AAE2 #ECD7F1
Accessibility & contrast
On white
2.97
#C17CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#C17CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17CD2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17CD2 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7091D5
Deuteranopia (green-blind)
#8298CF
Tritanopia (blue-blind)
#C2879D
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c17cd2; /* rgb */ color: rgb(193, 124, 210); /* oklch */ color: oklch(68.9% 0.142 319.5);
Tailwind
colors: {
custom: {
50: '#d5a3e0',
500: '#c17cd2',
950: '#000000',
},
}SCSS
$custom: #c17cd2; $custom-light: #d5a3e0; $custom-dark: #000000;
JSON
{
"hex": "#c17cd2",
"rgb": {
"r": 193,
"g": 124,
"b": 210
},
"hsl": {
"h": 288.14,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.68911,
"c": 0.14249,
"h": 319.5
},
"luminance": 0.30406
}Semantic roles & 50–950 ramp
primary
#C17CD2
secondary
#CCE3C6
accent
#BC2946
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#140F15
muted
#837F83