#D786F9#D786F9
#D786F9 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.7% C 0.178 H 315.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D786F9 |
|---|---|
| RGB | rgb(215, 134, 249) |
| HSL | hsl(282, 91%, 75%) |
| HSV | hsv(282, 46%, 98%) |
| CMYK | cmyk(13.7%, 46.2%, 0%, 2.4%) |
| CIE-LAB | lab(68.27, 49.98, -45.27) |
| CIE-LCH | lch(68.27, 67.43, 317.83°) |
| OKLab | oklab(74.7% 0.1266 -0.1256) |
| OKLCH | oklch(74.7% 0.178 315.2) |
| XYZ | xyz(53.6457, 38.3383, 94.1783) |
| Luminance | 0.3834 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.41
Violet (CSS)
#EE82EE
ΔE00 5.21
Light Purple
#BF77F6
ΔE00 5.67
Baby Purple
#CA9BF7
ΔE00 5.87
Purply Pink
#F075E6
ΔE00 6.73
Easter Purple
#C071FE
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D786F9 #A8F986
analogous
#9E86F9 #D786F9 #F986E1
triadic
#D786F9 #F9D786 #86F9D7
tetradic
#D786F9 #F99E86 #A8F986 #86E1F9
square
#D786F9 #F99E86 #A8F986 #86E1F9
split-complementary
#D786F9 #E1F986 #86F99E
monochromatic
#B011F3 #C44CF6 #D786F9 #EAC0FC #F5E2FE
Accessibility & contrast
On white
2.42
#D786F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#D786F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D786F9
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D786F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D786F9 | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA2FD
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#D597B4
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #d786f9; /* rgb */ color: rgb(215, 134, 249); /* oklch */ color: oklch(74.7% 0.178 315.2);
Tailwind
colors: {
custom: {
50: '#e5abfb',
500: '#d786f9',
950: '#000000',
},
}SCSS
$custom: #d786f9; $custom-light: #e5abfb; $custom-dark: #000000;
JSON
{
"hex": "#d786f9",
"rgb": {
"r": 215,
"g": 134,
"b": 249
},
"hsl": {
"h": 282.261,
"s": 90.551,
"l": 75.098
},
"oklch": {
"l": 0.74704,
"c": 0.17833,
"h": 315.2
},
"luminance": 0.38337
}Semantic roles & 50–950 ramp
primary
#D786F9
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85