#D296FC#D296FC
#D296FC is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.9% C 0.154 H 310.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D296FC |
|---|---|
| RGB | rgb(210, 150, 252) |
| HSL | hsl(275, 94%, 79%) |
| HSV | hsv(275, 40%, 99%) |
| CMYK | cmyk(16.7%, 40.5%, 0%, 1.2%) |
| CIE-LAB | lab(71.24, 40.74, -42.28) |
| CIE-LCH | lch(71.24, 58.71, 313.94°) |
| OKLab | oklab(76.86% 0.0992 -0.1172) |
| OKLCH | oklch(76.86% 0.154 310.3) |
| XYZ | xyz(55.0522, 42.5434, 97.3881) |
| Luminance | 0.4254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.24
Lilac (survey)
#CEA2FD
ΔE00 3.31
Pastel Purple
#CAA0FF
ΔE00 3.35
Liliac
#C48EFD
ΔE00 3.37
Lavender (survey)
#C79FEF
ΔE00 4.12
Mauve
#E0B0FF
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D296FC #C0FC96
analogous
#9F96FC #D296FC #FC96F3
triadic
#D296FC #FCD296 #96FCD2
tetradic
#D296FC #FC9F96 #C0FC96 #96F3FC
square
#D296FC #FC9F96 #C0FC96 #96F3FC
split-complementary
#D296FC #F3FC96 #96FC9F
monochromatic
#9F1FF9 #B95BFA #D296FC #ECD2FE #F2E1FE
Accessibility & contrast
On white
2.21
#D296FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#D296FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D296FC
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D296FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D296FC | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#CDA5BD
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d296fc; /* rgb */ color: rgb(210, 150, 252); /* oklch */ color: oklch(76.9% 0.154 310.3);
Tailwind
colors: {
custom: {
50: '#e1b6fd',
500: '#d296fc',
950: '#000000',
},
}SCSS
$custom: #d296fc; $custom-light: #e1b6fd; $custom-dark: #000000;
JSON
{
"hex": "#d296fc",
"rgb": {
"r": 210,
"g": 150,
"b": 252
},
"hsl": {
"h": 275.294,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.76857,
"c": 0.15352,
"h": 310.3
},
"luminance": 0.42543
}Semantic roles & 50–950 ramp
primary
#D296FC
secondary
#E3F6D5
accent
#E6005F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086