#D299FC#D299FC
#D299FC is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.4% C 0.149 H 309.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D299FC |
|---|---|
| RGB | rgb(210, 153, 252) |
| HSL | hsl(275, 94%, 79%) |
| HSV | hsv(275, 39%, 99%) |
| CMYK | cmyk(16.7%, 39.3%, 0%, 1.2%) |
| CIE-LAB | lab(71.90, 39.12, -41.25) |
| CIE-LCH | lch(71.90, 56.85, 313.48°) |
| OKLab | oklab(77.35% 0.095 -0.1142) |
| OKLCH | oklch(77.35% 0.149 309.8) |
| XYZ | xyz(55.5371, 43.5131, 97.5498) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.75
Lilac (survey)
#CEA2FD
ΔE00 2.61
Pastel Purple
#CAA0FF
ΔE00 2.79
Lavender (survey)
#C79FEF
ΔE00 3.56
Liliac
#C48EFD
ΔE00 3.82
Mauve
#E0B0FF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D299FC #C3FC99
analogous
#A199FC #D299FC #FC99F5
triadic
#D299FC #FCD299 #99FCD2
tetradic
#D299FC #FCA199 #C3FC99 #99F5FC
square
#D299FC #FCA199 #C3FC99 #99F5FC
split-complementary
#D299FC #F5FC99 #99FCA1
monochromatic
#9E22F9 #B85EFA #D299FC #ECD4FE #F2E1FE
Accessibility & contrast
On white
2.16
#D299FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#D299FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D299FC
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D299FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D299FC | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#CDA8BF
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d299fc; /* rgb */ color: rgb(210, 153, 252); /* oklch */ color: oklch(77.4% 0.149 309.8);
Tailwind
colors: {
custom: {
50: '#e1b8fd',
500: '#d299fc',
950: '#000000',
},
}SCSS
$custom: #d299fc; $custom-light: #e1b8fd; $custom-dark: #000000;
JSON
{
"hex": "#d299fc",
"rgb": {
"r": 210,
"g": 153,
"b": 252
},
"hsl": {
"h": 274.545,
"s": 94.286,
"l": 79.412
},
"oklch": {
"l": 0.77353,
"c": 0.14858,
"h": 309.8
},
"luminance": 0.43512
}Semantic roles & 50–950 ramp
primary
#D299FC
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086