#E170D2#E170D2
#E170D2 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.182 H 332.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E170D2 |
|---|---|
| RGB | rgb(225, 112, 210) |
| HSL | hsl(308, 65%, 66%) |
| HSV | hsv(308, 50%, 88%) |
| CMYK | cmyk(0%, 50.2%, 6.7%, 11.8%) |
| CIE-LAB | lab(63.55, 56.60, -30.93) |
| CIE-LCH | lch(63.55, 64.50, 331.35°) |
| OKLab | oklab(70.9% 0.1619 -0.0841) |
| OKLCH | oklch(70.9% 0.182 332.5) |
| XYZ | xyz(48.4782, 32.2521, 64.6322) |
| Luminance | 0.3225 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.77
Purply Pink
#F075E6
ΔE00 3.61
Orchid (survey)
#C875C4
ΔE00 4.44
Lavender Pink
#DD85D7
ΔE00 4.48
Candy Pink
#FF63E9
ΔE00 5.07
Violet (CSS)
#EE82EE
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170D2 #70E17F
analogous
#B770E1 #E170D2 #E17099
triadic
#E170D2 #D2E170 #70D2E1
tetradic
#E170D2 #E1B770 #70E17F #7099E1
square
#E170D2 #E1B770 #70E17F #7099E1
split-complementary
#E170D2 #99E170 #70E1B7
monochromatic
#B1259F #D63DC2 #E170D2 #ECA3E2 #F6D5F2
Accessibility & contrast
On white
2.82
#E170D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#E170D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170D2
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170D2 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D90D5
Deuteranopia (green-blind)
#8EA0CF
Tritanopia (blue-blind)
#E97897
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e170d2; /* rgb */ color: rgb(225, 112, 210); /* oklch */ color: oklch(70.9% 0.182 332.5);
Tailwind
colors: {
custom: {
50: '#ed9de0',
500: '#e170d2',
950: '#000000',
},
}SCSS
$custom: #e170d2; $custom-light: #ed9de0; $custom-dark: #000000;
JSON
{
"hex": "#e170d2",
"rgb": {
"r": 225,
"g": 112,
"b": 210
},
"hsl": {
"h": 307.965,
"s": 65.318,
"l": 66.078
},
"oklch": {
"l": 0.70903,
"c": 0.18245,
"h": 332.5
},
"luminance": 0.32249
}Semantic roles & 50–950 ramp
primary
#E170D2
secondary
#C4E9C9
accent
#CD3018
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170F15
muted
#857E83