#D299F9#D299F9
#D299F9 is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.2% C 0.145 H 310.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #D299F9 |
|---|---|
| RGB | rgb(210, 153, 249) |
| HSL | hsl(276, 89%, 79%) |
| HSV | hsv(276, 39%, 98%) |
| CMYK | cmyk(15.7%, 38.6%, 0%, 2.4%) |
| CIE-LAB | lab(71.77, 38.48, -39.82) |
| CIE-LCH | lch(71.77, 55.38, 314.02°) |
| OKLab | oklab(77.22% 0.0944 -0.1101) |
| OKLCH | oklch(77.22% 0.145 310.6) |
| XYZ | xyz(55.0654, 43.3245, 95.0658) |
| Luminance | 0.4332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.74
Lilac (survey)
#CEA2FD
ΔE00 2.68
Pastel Purple
#CAA0FF
ΔE00 3.02
Lavender (survey)
#C79FEF
ΔE00 3.31
Liliac
#C48EFD
ΔE00 4.13
Mauve
#E0B0FF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D299F9 #C0F999
analogous
#A299F9 #D299F9 #F999F0
triadic
#D299F9 #F9D299 #99F9D2
tetradic
#D299F9 #F9A299 #C0F999 #99F0F9
square
#D299F9 #F9A299 #C0F999 #99F0F9
split-complementary
#D299F9 #F0F999 #99F9A2
monochromatic
#9F25F2 #B95FF6 #D299F9 #ECD3FC #F2E2FD
Accessibility & contrast
On white
2.17
#D299F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#D299F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D299F9
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D299F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D299F9 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86ADFD
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#CEA7BD
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d299f9; /* rgb */ color: rgb(210, 153, 249); /* oklch */ color: oklch(77.2% 0.145 310.6);
Tailwind
colors: {
custom: {
50: '#e1b8fb',
500: '#d299f9',
950: '#000000',
},
}SCSS
$custom: #d299f9; $custom-light: #e1b8fb; $custom-dark: #000000;
JSON
{
"hex": "#d299f9",
"rgb": {
"r": 210,
"g": 153,
"b": 249
},
"hsl": {
"h": 275.625,
"s": 88.889,
"l": 78.824
},
"oklch": {
"l": 0.77215,
"c": 0.14505,
"h": 310.6
},
"luminance": 0.43324
}Semantic roles & 50–950 ramp
primary
#D299F9
secondary
#E3F5D6
accent
#E6005D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085