#E780FC#E780FC
#E780FC is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.8% C 0.198 H 320.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E780FC |
|---|---|
| RGB | rgb(231, 128, 252) |
| HSL | hsl(290, 95%, 75%) |
| HSV | hsv(290, 49%, 99%) |
| CMYK | cmyk(8.3%, 49.2%, 0%, 1.2%) |
| CIE-LAB | lab(69.08, 57.96, -45.50) |
| CIE-LCH | lch(69.08, 73.69, 321.87°) |
| OKLab | oklab(75.75% 0.1535 -0.1259) |
| OKLCH | oklch(75.75% 0.198 320.6) |
| XYZ | xyz(58.2428, 39.4579, 96.6248) |
| Luminance | 0.3946 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.25
Purply Pink
#F075E6
ΔE00 4.61
Violet Pink
#FB5FFC
ΔE00 5.50
Light Magenta
#FA5FF7
ΔE00 5.64
Lavender Pink
#DD85D7
ΔE00 6.47
Orchid
#DA70D6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E780FC #95FC80
analogous
#A980FC #E780FC #FC80D3
triadic
#E780FC #FCE780 #80FCE7
tetradic
#E780FC #FCA980 #95FC80 #80D3FC
square
#E780FC #FCA980 #95FC80 #80D3FC
split-complementary
#E780FC #D3FC80 #80FCA9
monochromatic
#D008F9 #DC44FB #E780FC #F2BCFD #F9E1FE
Accessibility & contrast
On white
2.36
#E780FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#E780FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E780FC
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E780FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E780FC | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#E991B3
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #e780fc; /* rgb */ color: rgb(231, 128, 252); /* oklch */ color: oklch(75.8% 0.198 320.6);
Tailwind
colors: {
custom: {
50: '#f1a8fe',
500: '#e780fc',
950: '#000000',
},
}SCSS
$custom: #e780fc; $custom-light: #f1a8fe; $custom-dark: #000000;
JSON
{
"hex": "#e780fc",
"rgb": {
"r": 231,
"g": 128,
"b": 252
},
"hsl": {
"h": 289.839,
"s": 95.385,
"l": 74.51
},
"oklch": {
"l": 0.75753,
"c": 0.19849,
"h": 320.6
},
"luminance": 0.39456
}Semantic roles & 50–950 ramp
primary
#E780FC
secondary
#DAF7D4
accent
#E60027
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86