#D781F9#D781F9
#D781F9 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.186 H 315.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #D781F9 |
|---|---|
| RGB | rgb(215, 129, 249) |
| HSL | hsl(283, 91%, 74%) |
| HSV | hsv(283, 48%, 98%) |
| CMYK | cmyk(13.7%, 48.2%, 0%, 2.4%) |
| CIE-LAB | lab(67.27, 52.55, -46.84) |
| CIE-LCH | lch(67.27, 70.40, 318.29°) |
| OKLab | oklab(73.96% 0.1334 -0.1301) |
| OKLCH | oklch(73.96% 0.186 315.7) |
| XYZ | xyz(52.9709, 36.9887, 93.9533) |
| Luminance | 0.3699 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.94
Light Purple
#BF77F6
ΔE00 5.01
Violet (CSS)
#EE82EE
ΔE00 5.30
Easter Purple
#C071FE
ΔE00 6.01
Purply Pink
#F075E6
ΔE00 6.42
Orchid
#DA70D6
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D781F9 #A3F981
analogous
#9B81F9 #D781F9 #F981DF
triadic
#D781F9 #F9D781 #81F9D7
tetradic
#D781F9 #F99B81 #A3F981 #81DFF9
square
#D781F9 #F99B81 #A3F981 #81DFF9
split-complementary
#D781F9 #DFF981 #81F99B
monochromatic
#B20CF3 #C447F6 #D781F9 #EABBFC #F6E2FE
Accessibility & contrast
On white
2.50
#D781F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#D781F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D781F9
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D781F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D781F9 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#82A6F6
Tritanopia (blue-blind)
#D593B2
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d781f9; /* rgb */ color: rgb(215, 129, 249); /* oklch */ color: oklch(74.0% 0.186 315.7);
Tailwind
colors: {
custom: {
50: '#e5a8fc',
500: '#d781f9',
950: '#000000',
},
}SCSS
$custom: #d781f9; $custom-light: #e5a8fc; $custom-dark: #000000;
JSON
{
"hex": "#d781f9",
"rgb": {
"r": 215,
"g": 129,
"b": 249
},
"hsl": {
"h": 283,
"s": 90.909,
"l": 74.118
},
"oklch": {
"l": 0.7396,
"c": 0.18632,
"h": 315.7
},
"luminance": 0.36987
}Semantic roles & 50–950 ramp
primary
#D781F9
secondary
#DEF6D5
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85