#D790FC#D790FC
#D790FC is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.4% C 0.165 H 313.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #D790FC |
|---|---|
| RGB | rgb(215, 144, 252) |
| HSL | hsl(279, 95%, 78%) |
| HSV | hsv(279, 43%, 99%) |
| CMYK | cmyk(14.7%, 42.9%, 0%, 1.2%) |
| CIE-LAB | lab(70.47, 45.36, -43.45) |
| CIE-LCH | lch(70.47, 62.81, 316.23°) |
| OKLab | oklab(76.39% 0.1133 -0.1204) |
| OKLCH | oklch(76.39% 0.165 313.3) |
| XYZ | xyz(55.5654, 41.4231, 97.1449) |
| Luminance | 0.4142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.82
Baby Purple
#CA9BF7
ΔE00 3.95
Lilac (survey)
#CEA2FD
ΔE00 5.06
Pastel Purple
#CAA0FF
ΔE00 5.12
Lavender (survey)
#C79FEF
ΔE00 5.69
Violet (CSS)
#EE82EE
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D790FC #B5FC90
analogous
#A190FC #D790FC #FC90EB
triadic
#D790FC #FCD790 #90FCD7
tetradic
#D790FC #FCA190 #B5FC90 #90EBFC
square
#D790FC #FCA190 #B5FC90 #90EBFC
split-complementary
#D790FC #EBFC90 #90FCA1
monochromatic
#AC19F9 #C254FA #D790FC #ECCCFE #F4E1FE
Accessibility & contrast
On white
2.26
#D790FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#D790FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D790FC
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D790FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D790FC | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#D4A0BA
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #d790fc; /* rgb */ color: rgb(215, 144, 252); /* oklch */ color: oklch(76.4% 0.165 313.3);
Tailwind
colors: {
custom: {
50: '#e5b2fe',
500: '#d790fc',
950: '#000000',
},
}SCSS
$custom: #d790fc; $custom-light: #e5b2fe; $custom-dark: #000000;
JSON
{
"hex": "#d790fc",
"rgb": {
"r": 215,
"g": 144,
"b": 252
},
"hsl": {
"h": 279.444,
"s": 94.737,
"l": 77.647
},
"oklch": {
"l": 0.76393,
"c": 0.16534,
"h": 313.3
},
"luminance": 0.41422
}Semantic roles & 50–950 ramp
primary
#D790FC
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086