#D299FA#D299FA
#D299FA is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.3% C 0.146 H 310.3°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D299FA |
|---|---|
| RGB | rgb(210, 153, 250) |
| HSL | hsl(275, 91%, 79%) |
| HSV | hsv(275, 39%, 98%) |
| CMYK | cmyk(16%, 38.8%, 0%, 2%) |
| CIE-LAB | lab(71.82, 38.69, -40.30) |
| CIE-LCH | lch(71.82, 55.87, 313.84°) |
| OKLab | oklab(77.26% 0.0946 -0.1115) |
| OKLCH | oklch(77.26% 0.146 310.3) |
| XYZ | xyz(55.2218, 43.3870, 95.8894) |
| Luminance | 0.4339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.72
Lilac (survey)
#CEA2FD
ΔE00 2.64
Pastel Purple
#CAA0FF
ΔE00 2.94
Lavender (survey)
#C79FEF
ΔE00 3.38
Liliac
#C48EFD
ΔE00 4.02
Mauve
#E0B0FF
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D299FA #C1FA99
analogous
#A299FA #D299FA #FA99F1
triadic
#D299FA #FAD299 #99FAD2
tetradic
#D299FA #FAA299 #C1FA99 #99F1FA
square
#D299FA #FAA299 #C1FA99 #99F1FA
split-complementary
#D299FA #F1FA99 #99FAA2
monochromatic
#9F24F4 #B85FF7 #D299FA #ECD3FD #F2E2FE
Accessibility & contrast
On white
2.17
#D299FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#D299FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D299FA
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D299FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D299FA | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#CDA7BE
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d299fa; /* rgb */ color: rgb(210, 153, 250); /* oklch */ color: oklch(77.3% 0.146 310.3);
Tailwind
colors: {
custom: {
50: '#e1b8fc',
500: '#d299fa',
950: '#000000',
},
}SCSS
$custom: #d299fa; $custom-light: #e1b8fc; $custom-dark: #000000;
JSON
{
"hex": "#d299fa",
"rgb": {
"r": 210,
"g": 153,
"b": 250
},
"hsl": {
"h": 275.258,
"s": 90.654,
"l": 79.02
},
"oklch": {
"l": 0.77261,
"c": 0.14623,
"h": 310.3
},
"luminance": 0.43386
}Semantic roles & 50–950 ramp
primary
#D299FA
secondary
#E3F6D5
accent
#E6005F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085