#D295FC#D295FC
#D295FC is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.7% C 0.155 H 310.4°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #D295FC |
|---|---|
| RGB | rgb(210, 149, 252) |
| HSL | hsl(276, 94%, 79%) |
| HSV | hsv(276, 41%, 99%) |
| CMYK | cmyk(16.7%, 40.9%, 0%, 1.2%) |
| CIE-LAB | lab(71.03, 41.27, -42.62) |
| CIE-LCH | lch(71.03, 59.33, 314.08°) |
| OKLab | oklab(76.69% 0.1006 -0.1181) |
| OKLCH | oklch(76.69% 0.155 310.4) |
| XYZ | xyz(54.8933, 42.2256, 97.3352) |
| Luminance | 0.4223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.43
Liliac
#C48EFD
ΔE00 3.25
Lilac (survey)
#CEA2FD
ΔE00 3.55
Pastel Purple
#CAA0FF
ΔE00 3.55
Lavender (survey)
#C79FEF
ΔE00 4.32
Mauve
#E0B0FF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D295FC #BFFC95
analogous
#9E95FC #D295FC #FC95F2
triadic
#D295FC #FCD295 #95FCD2
tetradic
#D295FC #FC9E95 #BFFC95 #95F2FC
square
#D295FC #FC9E95 #BFFC95 #95F2FC
split-complementary
#D295FC #F2FC95 #95FC9E
monochromatic
#9F1EF9 #B959FA #D295FC #EBD1FE #F2E1FE
Accessibility & contrast
On white
2.22
#D295FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#D295FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D295FC
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D295FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D295FC | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#CDA4BD
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d295fc; /* rgb */ color: rgb(210, 149, 252); /* oklch */ color: oklch(76.7% 0.155 310.4);
Tailwind
colors: {
custom: {
50: '#e1b5fd',
500: '#d295fc',
950: '#000000',
},
}SCSS
$custom: #d295fc; $custom-light: #e1b5fd; $custom-dark: #000000;
JSON
{
"hex": "#d295fc",
"rgb": {
"r": 210,
"g": 149,
"b": 252
},
"hsl": {
"h": 275.534,
"s": 94.495,
"l": 78.627
},
"oklch": {
"l": 0.76693,
"c": 0.15516,
"h": 310.4
},
"luminance": 0.42225
}Semantic roles & 50–950 ramp
primary
#D295FC
secondary
#E2F6D5
accent
#E6005E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086