#E780F2#E780F2
#E780F2 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.189 H 323.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E780F2 |
|---|---|
| RGB | rgb(231, 128, 242) |
| HSL | hsl(294, 81%, 73%) |
| HSV | hsv(294, 47%, 95%) |
| CMYK | cmyk(4.5%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(68.64, 56.10, -40.72) |
| CIE-LCH | lch(68.64, 69.32, 324.02°) |
| OKLab | oklab(75.28% 0.1521 -0.1121) |
| OKLCH | oklch(75.28% 0.189 323.6) |
| XYZ | xyz(56.6996, 38.8406, 88.4976) |
| Luminance | 0.3884 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.83
Purply Pink
#F075E6
ΔE00 3.28
Lavender Pink
#DD85D7
ΔE00 4.92
Orchid
#DA70D6
ΔE00 5.35
Light Magenta
#FA5FF7
ΔE00 5.52
Violet Pink
#FB5FFC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E780F2 #8BF280
analogous
#AE80F2 #E780F2 #F280C4
triadic
#E780F2 #F2E780 #80F2E7
tetradic
#E780F2 #F2AE80 #8BF280 #80C4F2
square
#E780F2 #F2AE80 #8BF280 #80C4F2
split-complementary
#E780F2 #C4F280 #80F2AE
monochromatic
#CD17E1 #DD48EC #E780F2 #F1B8F8 #FAE3FC
Accessibility & contrast
On white
2.40
#E780F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#E780F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E780F2
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E780F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E780F2 | 1.00 | 2.40 | 8.77 | 8.77 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#EB8EAE
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #e780f2; /* rgb */ color: rgb(231, 128, 242); /* oklch */ color: oklch(75.3% 0.189 323.6);
Tailwind
colors: {
custom: {
50: '#f1a8f6',
500: '#e780f2',
950: '#000000',
},
}SCSS
$custom: #e780f2; $custom-light: #f1a8f6; $custom-dark: #000000;
JSON
{
"hex": "#e780f2",
"rgb": {
"r": 231,
"g": 128,
"b": 242
},
"hsl": {
"h": 294.211,
"s": 81.429,
"l": 72.549
},
"oklch": {
"l": 0.75277,
"c": 0.18892,
"h": 323.6
},
"luminance": 0.38838
}Semantic roles & 50–950 ramp
primary
#E780F2
secondary
#DAF4D7
accent
#DE081C
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85