#D790FD#D790FD
#D790FD is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.4% C 0.166 H 313.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D790FD |
|---|---|
| RGB | rgb(215, 144, 253) |
| HSL | hsl(279, 96%, 78%) |
| HSV | hsv(279, 43%, 99%) |
| CMYK | cmyk(15%, 43.1%, 0%, 0.8%) |
| CIE-LAB | lab(70.52, 45.57, -43.92) |
| CIE-LCH | lch(70.52, 63.29, 316.05°) |
| OKLab | oklab(76.44% 0.1135 -0.1218) |
| OKLCH | oklch(76.44% 0.166 313) |
| XYZ | xyz(55.7242, 41.4866, 97.9817) |
| Luminance | 0.4148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.73
Baby Purple
#CA9BF7
ΔE00 3.97
Lilac (survey)
#CEA2FD
ΔE00 5.05
Pastel Purple
#CAA0FF
ΔE00 5.09
Lavender (survey)
#C79FEF
ΔE00 5.74
Violet (CSS)
#EE82EE
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D790FD #B6FD90
analogous
#A190FD #D790FD #FD90EC
triadic
#D790FD #FDD790 #90FDD7
tetradic
#D790FD #FDA190 #B6FD90 #90ECFD
square
#D790FD #FDA190 #B6FD90 #90ECFD
split-complementary
#D790FD #ECFD90 #90FDA1
monochromatic
#AC18FB #C154FC #D790FD #EDCCFE #F4E1FE
Accessibility & contrast
On white
2.26
#D790FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#D790FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D790FD
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D790FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D790FD | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#8DAEFA
Tritanopia (blue-blind)
#D4A0BB
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #d790fd; /* rgb */ color: rgb(215, 144, 253); /* oklch */ color: oklch(76.4% 0.166 313.0);
Tailwind
colors: {
custom: {
50: '#e5b2fe',
500: '#d790fd',
950: '#000000',
},
}SCSS
$custom: #d790fd; $custom-light: #e5b2fe; $custom-dark: #000000;
JSON
{
"hex": "#d790fd",
"rgb": {
"r": 215,
"g": 144,
"b": 253
},
"hsl": {
"h": 279.083,
"s": 96.46,
"l": 77.843
},
"oklch": {
"l": 0.76441,
"c": 0.16645,
"h": 313
},
"luminance": 0.41485
}Semantic roles & 50–950 ramp
primary
#D790FD
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086