#D293F2#D293F2
#D293F2 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.9% C 0.147 H 313.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D293F2 |
|---|---|
| RGB | rgb(210, 147, 242) |
| HSL | hsl(280, 79%, 76%) |
| HSV | hsv(280, 39%, 95%) |
| CMYK | cmyk(13.2%, 39.3%, 0%, 5.1%) |
| CIE-LAB | lab(70.16, 40.25, -38.52) |
| CIE-LCH | lch(70.16, 55.71, 316.26°) |
| OKLab | oklab(75.9% 0.1015 -0.1063) |
| OKLCH | oklch(75.9% 0.147 313.7) |
| XYZ | xyz(53.0365, 40.9810, 89.1034) |
| Luminance | 0.4098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.04
Lavender (survey)
#C79FEF
ΔE00 4.25
Liliac
#C48EFD
ΔE00 4.29
Lilac (survey)
#CEA2FD
ΔE00 4.34
Pastel Purple
#CAA0FF
ΔE00 4.64
Pale Purple
#B790D4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D293F2 #B3F293
analogous
#A393F2 #D293F2 #F293E3
triadic
#D293F2 #F2D293 #93F2D2
tetradic
#D293F2 #F2A393 #B3F293 #93E3F2
square
#D293F2 #F2A393 #B3F293 #93E3F2
split-complementary
#D293F2 #E3F293 #93F2A3
monochromatic
#A426E5 #BB5CEB #D293F2 #E9CAF9 #F4E4FC
Accessibility & contrast
On white
2.28
#D293F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#D293F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D293F2
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D293F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D293F2 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#D0A0B7
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #d293f2; /* rgb */ color: rgb(210, 147, 242); /* oklch */ color: oklch(75.9% 0.147 313.7);
Tailwind
colors: {
custom: {
50: '#e1b4f6',
500: '#d293f2',
950: '#000000',
},
}SCSS
$custom: #d293f2; $custom-light: #e1b4f6; $custom-dark: #000000;
JSON
{
"hex": "#d293f2",
"rgb": {
"r": 210,
"g": 147,
"b": 242
},
"hsl": {
"h": 279.789,
"s": 78.512,
"l": 76.275
},
"oklch": {
"l": 0.75902,
"c": 0.14699,
"h": 313.7
},
"luminance": 0.4098
}Semantic roles & 50–950 ramp
primary
#D293F2
secondary
#E1F4D7
accent
#DB0B51
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085