#E178D2#E178D2
#E178D2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.170 H 332.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #E178D2 |
|---|---|
| RGB | rgb(225, 120, 210) |
| HSL | hsl(309, 64%, 68%) |
| HSV | hsv(309, 47%, 88%) |
| CMYK | cmyk(0%, 46.7%, 6.7%, 11.8%) |
| CIE-LAB | lab(65.04, 52.70, -28.63) |
| CIE-LCH | lch(65.04, 59.97, 331.49°) |
| OKLab | oklab(72.01% 0.1507 -0.0777) |
| OKLCH | oklch(72.01% 0.17 332.7) |
| XYZ | xyz(49.4004, 34.0966, 64.9396) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.86
Lavender Pink
#DD85D7
ΔE00 2.91
Purply Pink
#F075E6
ΔE00 3.57
Orchid (survey)
#C875C4
ΔE00 4.54
Violet (CSS)
#EE82EE
ΔE00 4.80
Candy Pink
#FF63E9
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E178D2 #78E187
analogous
#BB78E1 #E178D2 #E1789E
triadic
#E178D2 #D2E178 #78D2E1
tetradic
#E178D2 #E1BB78 #78E187 #789EE1
square
#E178D2 #E1BB78 #78E187 #789EE1
split-complementary
#E178D2 #9EE178 #78E1BB
monochromatic
#B628A2 #D646C1 #E178D2 #ECAAE3 #F7DCF3
Accessibility & contrast
On white
2.69
#E178D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#E178D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E178D2
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E178D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E178D2 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7694D5
Deuteranopia (green-blind)
#93A3CF
Tritanopia (blue-blind)
#E97F9B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e178d2; /* rgb */ color: rgb(225, 120, 210); /* oklch */ color: oklch(72.0% 0.170 332.7);
Tailwind
colors: {
custom: {
50: '#eca2e0',
500: '#e178d2',
950: '#000000',
},
}SCSS
$custom: #e178d2; $custom-light: #eca2e0; $custom-dark: #000000;
JSON
{
"hex": "#e178d2",
"rgb": {
"r": 225,
"g": 120,
"b": 210
},
"hsl": {
"h": 308.571,
"s": 63.636,
"l": 67.647
},
"oklch": {
"l": 0.72009,
"c": 0.16952,
"h": 332.7
},
"luminance": 0.34094
}Semantic roles & 50–950 ramp
primary
#E178D2
secondary
#CAEBCF
accent
#CB331A
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83