#E791DF#E791DF
#E791DF is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.0% C 0.143 H 330.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E791DF |
|---|---|
| RGB | rgb(231, 145, 223) |
| HSL | hsl(306, 64%, 74%) |
| HSV | hsv(306, 37%, 91%) |
| CMYK | cmyk(0%, 37.2%, 3.5%, 9.4%) |
| CIE-LAB | lab(71.26, 44.03, -26.21) |
| CIE-LCH | lch(71.26, 51.24, 329.23°) |
| OKLab | oklab(76.99% 0.124 -0.071) |
| OKLCH | oklch(76.99% 0.143 330.2) |
| XYZ | xyz(56.3989, 42.5701, 75.0438) |
| Luminance | 0.4257 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.17
Plum
#DDA0DD
ΔE00 4.47
Violet (CSS)
#EE82EE
ΔE00 4.71
Purply Pink
#F075E6
ΔE00 6.25
Bubblegum Pink
#FE83CC
ΔE00 6.59
Orchid
#DA70D6
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E791DF #91E799
analogous
#C491E7 #E791DF #E791B4
triadic
#E791DF #DFE791 #91DFE7
tetradic
#E791DF #E7C491 #91E799 #91B4E7
square
#E791DF #E7C491 #91E799 #91B4E7
split-complementary
#E791DF #B4E791 #91E7C4
monochromatic
#D02DC1 #DC5FD0 #E791DF #F2C3EE #FAE6F8
Accessibility & contrast
On white
2.21
#E791DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#E791DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E791DF
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E791DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E791DF | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#A4B3DC
Tritanopia (blue-blind)
#ED97AE
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #e791df; /* rgb */ color: rgb(231, 145, 223); /* oklch */ color: oklch(77.0% 0.143 330.2);
Tailwind
colors: {
custom: {
50: '#f0b3e9',
500: '#e791df',
950: '#000000',
},
}SCSS
$custom: #e791df; $custom-light: #f0b3e9; $custom-dark: #000000;
JSON
{
"hex": "#e791df",
"rgb": {
"r": 231,
"g": 145,
"b": 223
},
"hsl": {
"h": 305.581,
"s": 64.179,
"l": 73.725
},
"oklch": {
"l": 0.76991,
"c": 0.14291,
"h": 330.2
},
"luminance": 0.42567
}Semantic roles & 50–950 ramp
primary
#E791DF
secondary
#DAF1DC
accent
#CC2A1A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084