#D786E5#D786E5
#D786E5 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.8% C 0.157 H 321.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #D786E5 |
|---|---|
| RGB | rgb(215, 134, 229) |
| HSL | hsl(291, 65%, 71%) |
| HSV | hsv(291, 41%, 90%) |
| CMYK | cmyk(6.1%, 41.5%, 0%, 10.2%) |
| CIE-LAB | lab(67.39, 46.02, -35.64) |
| CIE-LCH | lch(67.39, 58.21, 322.24°) |
| OKLab | oklab(73.76% 0.1232 -0.0979) |
| OKLCH | oklch(73.76% 0.157 321.5) |
| XYZ | xyz(50.6907, 37.1563, 78.6152) |
| Luminance | 0.3715 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.42
Violet (CSS)
#EE82EE
ΔE00 3.83
Purply Pink
#F075E6
ΔE00 5.14
Orchid
#DA70D6
ΔE00 5.17
Orchid (survey)
#C875C4
ΔE00 6.46
Liliac
#C48EFD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D786E5 #94E586
analogous
#A786E5 #D786E5 #E586C3
triadic
#D786E5 #E5D786 #86E5D7
tetradic
#D786E5 #E5A786 #94E586 #86C3E5
square
#D786E5 #E5A786 #94E586 #86C3E5
split-complementary
#D786E5 #C3E586 #86E5A7
monochromatic
#AF2BC6 #C654DA #D786E5 #E8B8F0 #F7E6FA
Accessibility & contrast
On white
2.49
#D786E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#D786E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D786E5
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D786E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D786E5 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A9EE8
Deuteranopia (green-blind)
#8FA7E2
Tritanopia (blue-blind)
#D991AB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d786e5; /* rgb */ color: rgb(215, 134, 229); /* oklch */ color: oklch(73.8% 0.157 321.5);
Tailwind
colors: {
custom: {
50: '#e5abed',
500: '#d786e5',
950: '#000000',
},
}SCSS
$custom: #d786e5; $custom-light: #e5abed; $custom-dark: #000000;
JSON
{
"hex": "#d786e5",
"rgb": {
"r": 215,
"g": 134,
"b": 229
},
"hsl": {
"h": 291.158,
"s": 64.626,
"l": 71.176
},
"oklch": {
"l": 0.73763,
"c": 0.15738,
"h": 321.5
},
"luminance": 0.37154
}Semantic roles & 50–950 ramp
primary
#D786E5
secondary
#DBF0D7
accent
#CC1933
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84