#D896FC#D896FC
#D896FC is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.5% C 0.156 H 312.9°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D896FC |
|---|---|
| RGB | rgb(216, 150, 252) |
| HSL | hsl(279, 94%, 79%) |
| HSV | hsv(279, 40%, 99%) |
| CMYK | cmyk(14.3%, 40.5%, 0%, 1.2%) |
| CIE-LAB | lab(71.85, 42.46, -41.28) |
| CIE-LCH | lch(71.85, 59.22, 315.81°) |
| OKLab | oklab(77.45% 0.1061 -0.1142) |
| OKLCH | oklch(77.45% 0.156 312.9) |
| XYZ | xyz(56.7930, 43.4410, 97.4697) |
| Luminance | 0.4344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.12
Lilac (survey)
#CEA2FD
ΔE00 3.92
Pastel Purple
#CAA0FF
ΔE00 4.23
Liliac
#C48EFD
ΔE00 4.38
Lavender (survey)
#C79FEF
ΔE00 4.69
Mauve
#E0B0FF
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D896FC #BAFC96
analogous
#A596FC #D896FC #FC96ED
triadic
#D896FC #FCD896 #96FCD8
tetradic
#D896FC #FCA596 #BAFC96 #96EDFC
square
#D896FC #FCA596 #BAFC96 #96EDFC
split-complementary
#D896FC #EDFC96 #96FCA5
monochromatic
#AC1FF9 #C25BFA #D896FC #EED2FE #F4E1FE
Accessibility & contrast
On white
2.17
#D896FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#D896FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D896FC
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D896FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D896FC | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#93B2F9
Tritanopia (blue-blind)
#D5A4BD
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d896fc; /* rgb */ color: rgb(216, 150, 252); /* oklch */ color: oklch(77.5% 0.156 312.9);
Tailwind
colors: {
custom: {
50: '#e5b6fd',
500: '#d896fc',
950: '#000000',
},
}SCSS
$custom: #d896fc; $custom-light: #e5b6fd; $custom-dark: #000000;
JSON
{
"hex": "#d896fc",
"rgb": {
"r": 216,
"g": 150,
"b": 252
},
"hsl": {
"h": 278.824,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.77454,
"c": 0.15587,
"h": 312.9
},
"luminance": 0.4344
}Semantic roles & 50–950 ramp
primary
#D896FC
secondary
#E1F6D5
accent
#E60051
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086