#D296FD#D296FD
#D296FD is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.9% C 0.155 H 310.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D296FD |
|---|---|
| RGB | rgb(210, 150, 253) |
| HSL | hsl(275, 96%, 79%) |
| HSV | hsv(275, 41%, 99%) |
| CMYK | cmyk(17%, 40.7%, 0%, 0.8%) |
| CIE-LAB | lab(71.29, 40.95, -42.75) |
| CIE-LCH | lch(71.29, 59.20, 313.77°) |
| OKLab | oklab(76.9% 0.0994 -0.1185) |
| OKLCH | oklch(76.9% 0.155 310) |
| XYZ | xyz(55.2111, 42.6070, 98.2249) |
| Luminance | 0.4261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.28
Liliac
#C48EFD
ΔE00 3.28
Pastel Purple
#CAA0FF
ΔE00 3.31
Lilac (survey)
#CEA2FD
ΔE00 3.32
Lavender (survey)
#C79FEF
ΔE00 4.21
Mauve
#E0B0FF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D296FD #C1FD96
analogous
#9F96FD #D296FD #FD96F5
triadic
#D296FD #FDD296 #96FDD2
tetradic
#D296FD #FD9F96 #C1FD96 #96F5FD
square
#D296FD #FD9F96 #C1FD96 #96F5FD
split-complementary
#D296FD #F5FD96 #96FD9F
monochromatic
#9F1EFB #B85AFC #D296FD #ECD2FE #F2E1FE
Accessibility & contrast
On white
2.21
#D296FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#D296FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D296FD
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D296FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D296FD | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#CDA5BE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d296fd; /* rgb */ color: rgb(210, 150, 253); /* oklch */ color: oklch(76.9% 0.155 310.0);
Tailwind
colors: {
custom: {
50: '#e1b6fe',
500: '#d296fd',
950: '#000000',
},
}SCSS
$custom: #d296fd; $custom-light: #e1b6fe; $custom-dark: #000000;
JSON
{
"hex": "#d296fd",
"rgb": {
"r": 210,
"g": 150,
"b": 253
},
"hsl": {
"h": 274.951,
"s": 96.262,
"l": 79.02
},
"oklch": {
"l": 0.76904,
"c": 0.15469,
"h": 310
},
"luminance": 0.42606
}Semantic roles & 50–950 ramp
primary
#D296FD
secondary
#E3F7D4
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086