#D295FA#D295FA
#D295FA is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.6% C 0.153 H 311.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D295FA |
|---|---|
| RGB | rgb(210, 149, 250) |
| HSL | hsl(276, 91%, 78%) |
| HSV | hsv(276, 40%, 98%) |
| CMYK | cmyk(16%, 40.4%, 0%, 2%) |
| CIE-LAB | lab(70.94, 40.85, -41.67) |
| CIE-LCH | lch(70.94, 58.35, 314.43°) |
| OKLab | oklab(76.6% 0.1002 -0.1154) |
| OKLCH | oklch(76.6% 0.153 311) |
| XYZ | xyz(54.5780, 42.0995, 95.6748) |
| Luminance | 0.4210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.38
Liliac
#C48EFD
ΔE00 3.45
Lilac (survey)
#CEA2FD
ΔE00 3.56
Pastel Purple
#CAA0FF
ΔE00 3.64
Lavender (survey)
#C79FEF
ΔE00 4.16
Mauve
#E0B0FF
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D295FA #BDFA95
analogous
#9F95FA #D295FA #FA95EF
triadic
#D295FA #FAD295 #95FAD2
tetradic
#D295FA #FA9F95 #BDFA95 #95EFFA
square
#D295FA #FA9F95 #BDFA95 #95EFFA
split-complementary
#D295FA #EFFA95 #95FA9F
monochromatic
#A020F4 #B95BF7 #D295FA #EBCFFD #F3E2FE
Accessibility & contrast
On white
2.23
#D295FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#D295FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D295FA
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D295FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D295FA | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#CEA4BC
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d295fa; /* rgb */ color: rgb(210, 149, 250); /* oklch */ color: oklch(76.6% 0.153 311.0);
Tailwind
colors: {
custom: {
50: '#e1b5fc',
500: '#d295fa',
950: '#000000',
},
}SCSS
$custom: #d295fa; $custom-light: #e1b5fc; $custom-dark: #000000;
JSON
{
"hex": "#d295fa",
"rgb": {
"r": 210,
"g": 149,
"b": 250
},
"hsl": {
"h": 276.238,
"s": 90.991,
"l": 78.235
},
"oklch": {
"l": 0.76599,
"c": 0.15285,
"h": 311
},
"luminance": 0.42099
}Semantic roles & 50–950 ramp
primary
#D295FA
secondary
#E2F6D5
accent
#E6005B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085