#D199F2#D199F2
#D199F2 is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.8% C 0.136 H 312.3°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D199F2 |
|---|---|
| RGB | rgb(209, 153, 242) |
| HSL | hsl(278, 77%, 77%) |
| HSV | hsv(278, 37%, 95%) |
| CMYK | cmyk(13.6%, 36.8%, 0%, 5.1%) |
| CIE-LAB | lab(71.38, 36.72, -36.62) |
| CIE-LCH | lch(71.38, 51.86, 315.07°) |
| OKLab | oklab(76.8% 0.0918 -0.1009) |
| OKLCH | oklch(76.8% 0.136 312.3) |
| XYZ | xyz(53.7100, 42.7495, 89.4092) |
| Luminance | 0.4275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.15
Lavender (survey)
#C79FEF
ΔE00 2.89
Lilac (survey)
#CEA2FD
ΔE00 3.13
Pastel Purple
#CAA0FF
ΔE00 3.70
Liliac
#C48EFD
ΔE00 4.91
Mauve
#E0B0FF
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D199F2 #BAF299
analogous
#A599F2 #D199F2 #F299E6
triadic
#D199F2 #F2D199 #99F2D1
tetradic
#D199F2 #F2A599 #BAF299 #99E6F2
square
#D199F2 #F2A599 #BAF299 #99E6F2
split-complementary
#D199F2 #E6F299 #99F2A5
monochromatic
#A02CE4 #B963EB #D199F2 #E9CFF9 #F3E4FC
Accessibility & contrast
On white
2.20
#D199F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#D199F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D199F2
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D199F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D199F2 | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#CEA5BA
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d199f2; /* rgb */ color: rgb(209, 153, 242); /* oklch */ color: oklch(76.8% 0.136 312.3);
Tailwind
colors: {
custom: {
50: '#e0b8f6',
500: '#d199f2',
950: '#000000',
},
}SCSS
$custom: #d199f2; $custom-light: #e0b8f6; $custom-dark: #000000;
JSON
{
"hex": "#d199f2",
"rgb": {
"r": 209,
"g": 153,
"b": 242
},
"hsl": {
"h": 277.753,
"s": 77.391,
"l": 77.451
},
"oklch": {
"l": 0.76802,
"c": 0.13646,
"h": 312.3
},
"luminance": 0.42749
}Semantic roles & 50–950 ramp
primary
#D199F2
secondary
#E2F3D8
accent
#DA0C58
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085