#D99CFD#D99CFD
#D99CFD is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.6% C 0.147 H 312.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #D99CFD |
|---|---|
| RGB | rgb(217, 156, 253) |
| HSL | hsl(278, 96%, 80%) |
| HSV | hsv(278, 38%, 99%) |
| CMYK | cmyk(14.2%, 38.3%, 0%, 0.8%) |
| CIE-LAB | lab(73.30, 39.75, -39.56) |
| CIE-LCH | lch(73.30, 56.08, 315.13°) |
| OKLab | oklab(78.58% 0.099 -0.1092) |
| OKLCH | oklch(78.58% 0.147 312.2) |
| XYZ | xyz(58.2303, 45.6215, 98.6478) |
| Luminance | 0.4562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.77
Lilac (survey)
#CEA2FD
ΔE00 2.96
Pastel Purple
#CAA0FF
ΔE00 3.58
Lavender (survey)
#C79FEF
ΔE00 3.98
Mauve
#E0B0FF
ΔE00 5.02
Liliac
#C48EFD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D99CFD #C0FD9C
analogous
#A89CFD #D99CFD #FD9CF1
triadic
#D99CFD #FDD99C #9CFDD9
tetradic
#D99CFD #FDA89C #C0FD9C #9CF1FD
square
#D99CFD #FDA89C #C0FD9C #9CF1FD
split-complementary
#D99CFD #F1FD9C #9CFDA8
monochromatic
#AB24FB #C260FC #D99CFD #F0D8FE #F3E1FE
Accessibility & contrast
On white
2.07
#D99CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#D99CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D99CFD
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D99CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D99CFD | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#99B5FA
Tritanopia (blue-blind)
#D6AAC1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #d99cfd; /* rgb */ color: rgb(217, 156, 253); /* oklch */ color: oklch(78.6% 0.147 312.2);
Tailwind
colors: {
custom: {
50: '#e6bafe',
500: '#d99cfd',
950: '#000000',
},
}SCSS
$custom: #d99cfd; $custom-light: #e6bafe; $custom-dark: #000000;
JSON
{
"hex": "#d99cfd",
"rgb": {
"r": 217,
"g": 156,
"b": 253
},
"hsl": {
"h": 277.732,
"s": 96.04,
"l": 80.196
},
"oklch": {
"l": 0.78581,
"c": 0.14746,
"h": 312.2
},
"luminance": 0.4562
}Semantic roles & 50–950 ramp
primary
#D99CFD
secondary
#E1F7D4
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186