#D786FD#D786FD
#D786FD is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.9% C 0.183 H 314.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D786FD |
|---|---|
| RGB | rgb(215, 134, 253) |
| HSL | hsl(281, 97%, 76%) |
| HSV | hsv(281, 47%, 99%) |
| CMYK | cmyk(15%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(68.45, 50.80, -47.16) |
| CIE-LCH | lch(68.45, 69.31, 317.12°) |
| OKLab | oklab(74.9% 0.1271 -0.1311) |
| OKLCH | oklch(74.9% 0.183 314.1) |
| XYZ | xyz(54.2762, 38.5905, 97.4990) |
| Luminance | 0.3859 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.14
Light Purple
#BF77F6
ΔE00 5.49
Violet (CSS)
#EE82EE
ΔE00 5.67
Baby Purple
#CA9BF7
ΔE00 5.90
Easter Purple
#C071FE
ΔE00 6.54
Pastel Purple
#CAA0FF
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D786FD #ACFD86
analogous
#9B86FD #D786FD #FD86E8
triadic
#D786FD #FDD786 #86FDD7
tetradic
#D786FD #FD9B86 #ACFD86 #86E8FD
square
#D786FD #FD9B86 #ACFD86 #86E8FD
split-complementary
#D786FD #E8FD86 #86FD9B
monochromatic
#AF0EFB #C34AFC #D786FD #EBC2FE #F5E1FF
Accessibility & contrast
On white
2.41
#D786FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#D786FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D786FD
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D786FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D786FD | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#D498B6
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #d786fd; /* rgb */ color: rgb(215, 134, 253); /* oklch */ color: oklch(74.9% 0.183 314.1);
Tailwind
colors: {
custom: {
50: '#e5abfe',
500: '#d786fd',
950: '#000000',
},
}SCSS
$custom: #d786fd; $custom-light: #e5abfe; $custom-dark: #000000;
JSON
{
"hex": "#d786fd",
"rgb": {
"r": 215,
"g": 134,
"b": 253
},
"hsl": {
"h": 280.84,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.74901,
"c": 0.18261,
"h": 314.1
},
"luminance": 0.38589
}Semantic roles & 50–950 ramp
primary
#D786FD
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86