#E786DF#E786DF
#E786DF is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.3% C 0.162 H 330.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #E786DF |
|---|---|
| RGB | rgb(231, 134, 223) |
| HSL | hsl(305, 67%, 72%) |
| HSV | hsv(305, 42%, 91%) |
| CMYK | cmyk(0%, 42%, 3.5%, 9.4%) |
| CIE-LAB | lab(69.02, 49.69, -29.66) |
| CIE-LCH | lch(69.02, 57.87, 329.17°) |
| OKLab | oklab(75.31% 0.1401 -0.0806) |
| OKLCH | oklch(75.31% 0.162 330.1) |
| XYZ | xyz(54.7987, 39.3697, 74.5104) |
| Luminance | 0.3937 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 1.83
Violet (CSS)
#EE82EE
ΔE00 2.80
Purply Pink
#F075E6
ΔE00 3.78
Orchid
#DA70D6
ΔE00 5.44
Candy Pink
#FF63E9
ΔE00 6.63
Bubblegum Pink
#FE83CC
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786DF #86E78E
analogous
#BF86E7 #E786DF #E786AF
triadic
#E786DF #DFE786 #86DFE7
tetradic
#E786DF #E7BF86 #86E78E #86AFE7
square
#E786DF #E7BF86 #86E78E #86AFE7
split-complementary
#E786DF #AFE786 #86E7BF
monochromatic
#CA28BD #DD53D1 #E786DF #F1B9ED #FAE5F8
Accessibility & contrast
On white
2.37
#E786DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#E786DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786DF
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786DF | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82A0E2
Deuteranopia (green-blind)
#9CADDC
Tritanopia (blue-blind)
#EE8DA8
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #e786df; /* rgb */ color: rgb(231, 134, 223); /* oklch */ color: oklch(75.3% 0.162 330.1);
Tailwind
colors: {
custom: {
50: '#f0abe9',
500: '#e786df',
950: '#000000',
},
}SCSS
$custom: #e786df; $custom-light: #f0abe9; $custom-dark: #000000;
JSON
{
"hex": "#e786df",
"rgb": {
"r": 231,
"g": 134,
"b": 223
},
"hsl": {
"h": 304.948,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.75305,
"c": 0.16162,
"h": 330.1
},
"luminance": 0.39367
}Semantic roles & 50–950 ramp
primary
#E786DF
secondary
#D8F1DA
accent
#CF2617
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84