#D192F2#D192F2
#D192F2 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.6% C 0.148 H 313.3°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D192F2 |
|---|---|
| RGB | rgb(209, 146, 242) |
| HSL | hsl(279, 79%, 76%) |
| HSV | hsv(279, 40%, 95%) |
| CMYK | cmyk(13.6%, 39.7%, 0%, 5.1%) |
| CIE-LAB | lab(69.84, 40.49, -39.02) |
| CIE-LCH | lch(69.84, 56.24, 316.06°) |
| OKLab | oklab(75.64% 0.1018 -0.1078) |
| OKLCH | oklch(75.64% 0.148 313.3) |
| XYZ | xyz(52.5978, 40.5249, 89.0385) |
| Luminance | 0.4052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.07
Liliac
#C48EFD
ΔE00 4.04
Lavender (survey)
#C79FEF
ΔE00 4.36
Lilac (survey)
#CEA2FD
ΔE00 4.45
Pastel Purple
#CAA0FF
ΔE00 4.68
Pale Purple
#B790D4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D192F2 #B3F292
analogous
#A192F2 #D192F2 #F292E3
triadic
#D192F2 #F2D192 #92F2D1
tetradic
#D192F2 #F2A192 #B3F292 #92E3F2
square
#D192F2 #F2A192 #B3F292 #92E3F2
split-complementary
#D192F2 #E3F292 #92F2A1
monochromatic
#A325E5 #BA5BEB #D192F2 #E8C9F9 #F3E4FC
Accessibility & contrast
On white
2.31
#D192F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#D192F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D192F2
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D192F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D192F2 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#CE9FB7
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #d192f2; /* rgb */ color: rgb(209, 146, 242); /* oklch */ color: oklch(75.6% 0.148 313.3);
Tailwind
colors: {
custom: {
50: '#e0b3f6',
500: '#d192f2',
950: '#000000',
},
}SCSS
$custom: #d192f2; $custom-light: #e0b3f6; $custom-dark: #000000;
JSON
{
"hex": "#d192f2",
"rgb": {
"r": 209,
"g": 146,
"b": 242
},
"hsl": {
"h": 279.375,
"s": 78.689,
"l": 76.078
},
"oklch": {
"l": 0.75637,
"c": 0.14824,
"h": 313.3
},
"luminance": 0.40524
}Semantic roles & 50–950 ramp
primary
#D192F2
secondary
#E1F4D7
accent
#DB0B52
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085