#E789FC#E789FC
#E789FC is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.0% C 0.184 H 320.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E789FC |
|---|---|
| RGB | rgb(231, 137, 252) |
| HSL | hsl(289, 95%, 76%) |
| HSV | hsv(289, 46%, 99%) |
| CMYK | cmyk(8.3%, 45.6%, 0%, 1.2%) |
| CIE-LAB | lab(70.81, 53.47, -42.79) |
| CIE-LCH | lch(70.81, 68.49, 321.33°) |
| OKLab | oklab(77.04% 0.1413 -0.1181) |
| OKLCH | oklch(77.04% 0.184 320.1) |
| XYZ | xyz(59.4692, 41.9107, 97.0336) |
| Luminance | 0.4191 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.19
Purply Pink
#F075E6
ΔE00 5.40
Lavender Pink
#DD85D7
ΔE00 6.15
Liliac
#C48EFD
ΔE00 6.78
Baby Purple
#CA9BF7
ΔE00 7.01
Violet Pink
#FB5FFC
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E789FC #9EFC89
analogous
#AE89FC #E789FC #FC89D8
triadic
#E789FC #FCE789 #89FCE7
tetradic
#E789FC #FCAE89 #9EFC89 #89D8FC
square
#E789FC #FCAE89 #9EFC89 #89D8FC
split-complementary
#E789FC #D8FC89 #89FCAE
monochromatic
#CF12F9 #DB4DFA #E789FC #F3C5FE #F9E1FE
Accessibility & contrast
On white
2.24
#E789FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#E789FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E789FC
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E789FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E789FC | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#E898B7
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #e789fc; /* rgb */ color: rgb(231, 137, 252); /* oklch */ color: oklch(77.0% 0.184 320.1);
Tailwind
colors: {
custom: {
50: '#f0aefe',
500: '#e789fc',
950: '#000000',
},
}SCSS
$custom: #e789fc; $custom-light: #f0aefe; $custom-dark: #000000;
JSON
{
"hex": "#e789fc",
"rgb": {
"r": 231,
"g": 137,
"b": 252
},
"hsl": {
"h": 289.043,
"s": 95.041,
"l": 76.275
},
"oklch": {
"l": 0.77035,
"c": 0.18418,
"h": 320.1
},
"luminance": 0.41909
}Semantic roles & 50–950 ramp
primary
#E789FC
secondary
#DBF6D5
accent
#E6002A
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171018
muted
#857F86