#D799FD#D799FD
#D799FD is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.9% C 0.152 H 311.7°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D799FD |
|---|---|
| RGB | rgb(215, 153, 253) |
| HSL | hsl(277, 96%, 80%) |
| HSV | hsv(277, 40%, 99%) |
| CMYK | cmyk(15%, 39.5%, 0%, 0.8%) |
| CIE-LAB | lab(72.44, 40.78, -40.91) |
| CIE-LCH | lch(72.44, 57.76, 314.90°) |
| OKLab | oklab(77.89% 0.101 -0.1131) |
| OKLCH | oklch(77.89% 0.152 311.7) |
| XYZ | xyz(57.1421, 44.3224, 98.4543) |
| Luminance | 0.4432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.60
Lilac (survey)
#CEA2FD
ΔE00 3.18
Pastel Purple
#CAA0FF
ΔE00 3.56
Lavender (survey)
#C79FEF
ΔE00 4.15
Liliac
#C48EFD
ΔE00 4.47
Mauve
#E0B0FF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D799FD #BFFD99
analogous
#A599FD #D799FD #FD99F1
triadic
#D799FD #FDD799 #99FDD7
tetradic
#D799FD #FDA599 #BFFD99 #99F1FD
square
#D799FD #FDA599 #BFFD99 #99F1FD
split-complementary
#D799FD #F1FD99 #99FDA5
monochromatic
#A821FB #BF5DFC #D799FD #EFD5FE #F3E1FE
Accessibility & contrast
On white
2.13
#D799FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#D799FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D799FD
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D799FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D799FD | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#D3A7BF
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d799fd; /* rgb */ color: rgb(215, 153, 253); /* oklch */ color: oklch(77.9% 0.152 311.7);
Tailwind
colors: {
custom: {
50: '#e5b8fe',
500: '#d799fd',
950: '#000000',
},
}SCSS
$custom: #d799fd; $custom-light: #e5b8fe; $custom-dark: #000000;
JSON
{
"hex": "#d799fd",
"rgb": {
"r": 215,
"g": 153,
"b": 253
},
"hsl": {
"h": 277.2,
"s": 96.154,
"l": 79.608
},
"oklch": {
"l": 0.7789,
"c": 0.15164,
"h": 311.7
},
"luminance": 0.44321
}Semantic roles & 50–950 ramp
primary
#D799FD
secondary
#E1F7D4
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086