#D296FA#D296FA
#D296FA is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.8% C 0.151 H 310.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #D296FA |
|---|---|
| RGB | rgb(210, 150, 250) |
| HSL | hsl(276, 91%, 78%) |
| HSV | hsv(276, 40%, 98%) |
| CMYK | cmyk(16%, 40%, 0%, 2%) |
| CIE-LAB | lab(71.16, 40.31, -41.33) |
| CIE-LCH | lch(71.16, 57.73, 314.29°) |
| OKLab | oklab(76.76% 0.0988 -0.1144) |
| OKLCH | oklch(76.76% 0.151 310.8) |
| XYZ | xyz(54.7369, 42.4173, 95.7278) |
| Luminance | 0.4242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.19
Lilac (survey)
#CEA2FD
ΔE00 3.32
Pastel Purple
#CAA0FF
ΔE00 3.46
Liliac
#C48EFD
ΔE00 3.57
Lavender (survey)
#C79FEF
ΔE00 3.96
Mauve
#E0B0FF
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D296FA #BEFA96
analogous
#A096FA #D296FA #FA96F0
triadic
#D296FA #FAD296 #96FAD2
tetradic
#D296FA #FAA096 #BEFA96 #96F0FA
square
#D296FA #FAA096 #BEFA96 #96F0FA
split-complementary
#D296FA #F0FA96 #96FAA0
monochromatic
#A021F4 #B95CF7 #D296FA #EBD0FD #F2E2FE
Accessibility & contrast
On white
2.21
#D296FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#D296FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D296FA
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D296FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D296FA | 1.00 | 2.21 | 9.48 | 9.48 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#91AFF7
Tritanopia (blue-blind)
#CEA5BC
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d296fa; /* rgb */ color: rgb(210, 150, 250); /* oklch */ color: oklch(76.8% 0.151 310.8);
Tailwind
colors: {
custom: {
50: '#e1b6fc',
500: '#d296fa',
950: '#000000',
},
}SCSS
$custom: #d296fa; $custom-light: #e1b6fc; $custom-dark: #000000;
JSON
{
"hex": "#d296fa",
"rgb": {
"r": 210,
"g": 150,
"b": 250
},
"hsl": {
"h": 276,
"s": 90.909,
"l": 78.431
},
"oklch": {
"l": 0.76764,
"c": 0.15119,
"h": 310.8
},
"luminance": 0.42416
}Semantic roles & 50–950 ramp
primary
#D296FA
secondary
#E2F6D5
accent
#E6005C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085