#D899FE#D899FE
#D899FE is a light, vivid violet. Relative luminance 0.445; OKLCH L 78.0% C 0.153 H 311.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D899FE |
|---|---|
| RGB | rgb(216, 153, 254) |
| HSL | hsl(277, 98%, 80%) |
| HSV | hsv(277, 40%, 100%) |
| CMYK | cmyk(15%, 39.8%, 0%, 0.4%) |
| CIE-LAB | lab(72.59, 41.27, -41.22) |
| CIE-LCH | lch(72.59, 58.33, 315.04°) |
| OKLab | oklab(78.04% 0.1023 -0.114) |
| OKLCH | oklch(78.04% 0.153 311.9) |
| XYZ | xyz(57.5964, 44.5382, 99.3093) |
| Luminance | 0.4454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.77
Lilac (survey)
#CEA2FD
ΔE00 3.30
Pastel Purple
#CAA0FF
ΔE00 3.67
Lavender (survey)
#C79FEF
ΔE00 4.33
Liliac
#C48EFD
ΔE00 4.55
Mauve
#E0B0FF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D899FE #BFFE99
analogous
#A699FE #D899FE #FE99F1
triadic
#D899FE #FED899 #99FED8
tetradic
#D899FE #FEA699 #BFFE99 #99F1FE
square
#D899FE #FEA699 #BFFE99 #99F1FE
split-complementary
#D899FE #F1FE99 #99FEA6
monochromatic
#AA20FD #C15CFD #D899FE #EFD6FF #F3E1FF
Accessibility & contrast
On white
2.12
#D899FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#D899FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D899FE
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D899FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D899FE | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#95B3FB
Tritanopia (blue-blind)
#D4A7C0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d899fe; /* rgb */ color: rgb(216, 153, 254); /* oklch */ color: oklch(78.0% 0.153 311.9);
Tailwind
colors: {
custom: {
50: '#e5b8ff',
500: '#d899fe',
950: '#000000',
},
}SCSS
$custom: #d899fe; $custom-light: #e5b8ff; $custom-dark: #000000;
JSON
{
"hex": "#d899fe",
"rgb": {
"r": 216,
"g": 153,
"b": 254
},
"hsl": {
"h": 277.426,
"s": 98.058,
"l": 79.804
},
"oklch": {
"l": 0.78035,
"c": 0.15319,
"h": 311.9
},
"luminance": 0.44537
}Semantic roles & 50–950 ramp
primary
#D899FE
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086