#D799FE#D799FE
#D799FE is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.9% C 0.153 H 311.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D799FE |
|---|---|
| RGB | rgb(215, 153, 254) |
| HSL | hsl(277, 98%, 80%) |
| HSV | hsv(277, 40%, 100%) |
| CMYK | cmyk(15.4%, 39.8%, 0%, 0.4%) |
| CIE-LAB | lab(72.49, 40.98, -41.39) |
| CIE-LCH | lch(72.49, 58.25, 314.72°) |
| OKLab | oklab(77.94% 0.1012 -0.1145) |
| OKLCH | oklch(77.94% 0.153 311.5) |
| XYZ | xyz(57.3018, 44.3862, 99.2955) |
| Luminance | 0.4439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.60
Lilac (survey)
#CEA2FD
ΔE00 3.16
Pastel Purple
#CAA0FF
ΔE00 3.50
Lavender (survey)
#C79FEF
ΔE00 4.22
Liliac
#C48EFD
ΔE00 4.39
Mauve
#E0B0FF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D799FE #C0FE99
analogous
#A599FE #D799FE #FE99F2
triadic
#D799FE #FED799 #99FED7
tetradic
#D799FE #FEA599 #C0FE99 #99F2FE
square
#D799FE #FEA599 #C0FE99 #99F2FE
split-complementary
#D799FE #F2FE99 #99FEA5
monochromatic
#A720FD #BF5CFD #D799FE #EFD6FF #F3E1FF
Accessibility & contrast
On white
2.13
#D799FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#D799FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D799FE
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D799FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D799FE | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#D3A8C0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d799fe; /* rgb */ color: rgb(215, 153, 254); /* oklch */ color: oklch(77.9% 0.153 311.5);
Tailwind
colors: {
custom: {
50: '#e5b8ff',
500: '#d799fe',
950: '#000000',
},
}SCSS
$custom: #d799fe; $custom-light: #e5b8ff; $custom-dark: #000000;
JSON
{
"hex": "#d799fe",
"rgb": {
"r": 215,
"g": 153,
"b": 254
},
"hsl": {
"h": 276.832,
"s": 98.058,
"l": 79.804
},
"oklch": {
"l": 0.77936,
"c": 0.15279,
"h": 311.5
},
"luminance": 0.44385
}Semantic roles & 50–950 ramp
primary
#D799FE
secondary
#E2F7D4
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086