#D799FC#D799FC
#D799FC is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.8% C 0.150 H 312.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D799FC |
|---|---|
| RGB | rgb(215, 153, 252) |
| HSL | hsl(278, 94%, 79%) |
| HSV | hsv(278, 39%, 99%) |
| CMYK | cmyk(14.7%, 39.3%, 0%, 1.2%) |
| CIE-LAB | lab(72.40, 40.57, -40.43) |
| CIE-LCH | lch(72.40, 57.28, 315.09°) |
| OKLab | oklab(77.84% 0.1008 -0.1118) |
| OKLCH | oklch(77.84% 0.15 312) |
| XYZ | xyz(56.9832, 44.2588, 97.6175) |
| Luminance | 0.4426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.60
Lilac (survey)
#CEA2FD
ΔE00 3.21
Pastel Purple
#CAA0FF
ΔE00 3.63
Lavender (survey)
#C79FEF
ΔE00 4.08
Liliac
#C48EFD
ΔE00 4.57
Mauve
#E0B0FF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D799FC #BEFC99
analogous
#A699FC #D799FC #FC99EF
triadic
#D799FC #FCD799 #99FCD7
tetradic
#D799FC #FCA699 #BEFC99 #99EFFC
square
#D799FC #FCA699 #BEFC99 #99EFFC
split-complementary
#D799FC #EFFC99 #99FCA6
monochromatic
#A822F9 #C05EFA #D799FC #EED4FE #F3E1FE
Accessibility & contrast
On white
2.13
#D799FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#D799FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D799FC
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D799FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D799FC | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#D3A7BF
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d799fc; /* rgb */ color: rgb(215, 153, 252); /* oklch */ color: oklch(77.8% 0.150 312.0);
Tailwind
colors: {
custom: {
50: '#e5b8fd',
500: '#d799fc',
950: '#000000',
},
}SCSS
$custom: #d799fc; $custom-light: #e5b8fd; $custom-dark: #000000;
JSON
{
"hex": "#d799fc",
"rgb": {
"r": 215,
"g": 153,
"b": 252
},
"hsl": {
"h": 277.576,
"s": 94.286,
"l": 79.412
},
"oklch": {
"l": 0.77844,
"c": 0.15048,
"h": 312
},
"luminance": 0.44258
}Semantic roles & 50–950 ramp
primary
#D799FC
secondary
#E1F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085