#E780DC#E780DC
#E780DC is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.169 H 331.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #E780DC |
|---|---|
| RGB | rgb(231, 128, 220) |
| HSL | hsl(306, 68%, 70%) |
| HSV | hsv(306, 45%, 91%) |
| CMYK | cmyk(0%, 44.6%, 4.8%, 9.4%) |
| CIE-LAB | lab(67.72, 52.20, -30.00) |
| CIE-LCH | lch(67.72, 60.20, 330.11°) |
| OKLab | oklab(74.3% 0.148 -0.0815) |
| OKLCH | oklch(74.3% 0.169 331.2) |
| XYZ | xyz(53.5920, 37.5976, 72.1305) |
| Luminance | 0.3760 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.01
Purply Pink
#F075E6
ΔE00 2.91
Violet (CSS)
#EE82EE
ΔE00 2.93
Orchid
#DA70D6
ΔE00 4.36
Candy Pink
#FF63E9
ΔE00 5.69
Orchid (survey)
#C875C4
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E780DC #80E78B
analogous
#BF80E7 #E780DC #E780A8
triadic
#E780DC #DCE780 #80DCE7
tetradic
#E780DC #E7BF80 #80E78B #80A8E7
square
#E780DC #E7BF80 #80E78B #80A8E7
split-complementary
#E780DC #A8E780 #80E7BF
monochromatic
#C726B6 #DD4DCE #E780DC #F1B3EA #FAE5F8
Accessibility & contrast
On white
2.47
#E780DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#E780DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E780DC
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E780DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E780DC | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C9CDF
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#EE87A4
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #e780dc; /* rgb */ color: rgb(231, 128, 220); /* oklch */ color: oklch(74.3% 0.169 331.2);
Tailwind
colors: {
custom: {
50: '#f0a8e7',
500: '#e780dc',
950: '#000000',
},
}SCSS
$custom: #e780dc; $custom-light: #f0a8e7; $custom-dark: #000000;
JSON
{
"hex": "#e780dc",
"rgb": {
"r": 231,
"g": 128,
"b": 220
},
"hsl": {
"h": 306.408,
"s": 68.212,
"l": 70.392
},
"oklch": {
"l": 0.74298,
"c": 0.169,
"h": 331.2
},
"luminance": 0.37595
}Semantic roles & 50–950 ramp
primary
#E780DC
secondary
#D3F0D6
accent
#D02915
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84