#E17CD2#E17CD2
#E17CD2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.6% C 0.163 H 332.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E17CD2 |
|---|---|
| RGB | rgb(225, 124, 210) |
| HSL | hsl(309, 63%, 68%) |
| HSV | hsv(309, 45%, 88%) |
| CMYK | cmyk(0%, 44.9%, 6.7%, 11.8%) |
| CIE-LAB | lab(65.81, 50.71, -27.44) |
| CIE-LCH | lch(65.81, 57.65, 331.58°) |
| OKLab | oklab(72.58% 0.1449 -0.0744) |
| OKLCH | oklch(72.58% 0.163 332.8) |
| XYZ | xyz(49.8916, 35.0789, 65.1033) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.18
Orchid
#DA70D6
ΔE00 3.63
Purply Pink
#F075E6
ΔE00 3.88
Violet (CSS)
#EE82EE
ΔE00 4.66
Orchid (survey)
#C875C4
ΔE00 4.82
Candy Pink
#FF63E9
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E17CD2 #7CE18B
analogous
#BD7CE1 #E17CD2 #E17C9F
triadic
#E17CD2 #D2E17C #7CD2E1
tetradic
#E17CD2 #E1BD7C #7CE18B #7C9FE1
square
#E17CD2 #E1BD7C #7CE18B #7C9FE1
split-complementary
#E17CD2 #9FE17C #7CE1BD
monochromatic
#B82AA3 #D64AC1 #E17CD2 #ECAEE3 #F8E0F4
Accessibility & contrast
On white
2.62
#E17CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#E17CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E17CD2
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E17CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E17CD2 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#E9829D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e17cd2; /* rgb */ color: rgb(225, 124, 210); /* oklch */ color: oklch(72.6% 0.163 332.8);
Tailwind
colors: {
custom: {
50: '#eca5e0',
500: '#e17cd2',
950: '#000000',
},
}SCSS
$custom: #e17cd2; $custom-light: #eca5e0; $custom-dark: #000000;
JSON
{
"hex": "#e17cd2",
"rgb": {
"r": 225,
"g": 124,
"b": 210
},
"hsl": {
"h": 308.911,
"s": 62.733,
"l": 68.431
},
"oklch": {
"l": 0.72584,
"c": 0.1629,
"h": 332.8
},
"luminance": 0.35076
}Semantic roles & 50–950 ramp
primary
#E17CD2
secondary
#CDECD2
accent
#CA351B
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83