#D296FE#D296FE
#D296FE is a light, vivid violet. Relative luminance 0.427; OKLCH L 77.0% C 0.156 H 309.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D296FE |
|---|---|
| RGB | rgb(210, 150, 254) |
| HSL | hsl(275, 98%, 79%) |
| HSV | hsv(275, 41%, 100%) |
| CMYK | cmyk(17.3%, 40.9%, 0%, 0.4%) |
| CIE-LAB | lab(71.33, 41.16, -43.23) |
| CIE-LCH | lch(71.33, 59.69, 313.60°) |
| OKLab | oklab(76.95% 0.0996 -0.1199) |
| OKLCH | oklch(76.95% 0.156 309.7) |
| XYZ | xyz(55.3708, 42.6709, 99.0661) |
| Luminance | 0.4267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.33
Liliac
#C48EFD
ΔE00 3.20
Pastel Purple
#CAA0FF
ΔE00 3.28
Lilac (survey)
#CEA2FD
ΔE00 3.33
Lavender (survey)
#C79FEF
ΔE00 4.30
Mauve
#E0B0FF
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D296FE #C2FE96
analogous
#9E96FE #D296FE #FE96F6
triadic
#D296FE #FED296 #96FED2
tetradic
#D296FE #FE9E96 #C2FE96 #96F6FE
square
#D296FE #FE9E96 #C2FE96 #96F6FE
split-complementary
#D296FE #F6FE96 #96FE9E
monochromatic
#9E1DFD #B859FD #D296FE #ECD3FF #F2E1FF
Accessibility & contrast
On white
2.20
#D296FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#D296FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D296FE
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D296FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D296FE | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#8FB0FB
Tritanopia (blue-blind)
#CDA6BE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d296fe; /* rgb */ color: rgb(210, 150, 254); /* oklch */ color: oklch(77.0% 0.156 309.7);
Tailwind
colors: {
custom: {
50: '#e1b6ff',
500: '#d296fe',
950: '#000000',
},
}SCSS
$custom: #d296fe; $custom-light: #e1b6ff; $custom-dark: #000000;
JSON
{
"hex": "#d296fe",
"rgb": {
"r": 210,
"g": 150,
"b": 254
},
"hsl": {
"h": 274.615,
"s": 98.113,
"l": 79.216
},
"oklch": {
"l": 0.76951,
"c": 0.15585,
"h": 309.7
},
"luminance": 0.4267
}Semantic roles & 50–950 ramp
primary
#D296FE
secondary
#E3F7D4
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086