#D892FF#D892FF
#D892FF is a light, vivid violet. Relative luminance 0.424; OKLCH L 77.0% C 0.166 H 312.6°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #D892FF |
|---|---|
| RGB | rgb(216, 146, 255) |
| HSL | hsl(279, 100%, 79%) |
| HSV | hsv(279, 43%, 100%) |
| CMYK | cmyk(15.3%, 42.7%, 0%, 0%) |
| CIE-LAB | lab(71.13, 45.21, -44.04) |
| CIE-LCH | lch(71.13, 63.11, 315.75°) |
| OKLab | oklab(76.95% 0.1122 -0.1221) |
| OKLCH | oklch(76.95% 0.166 312.6) |
| XYZ | xyz(56.6447, 42.3778, 99.7841) |
| Luminance | 0.4238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.77
Liliac
#C48EFD
ΔE00 3.84
Lilac (survey)
#CEA2FD
ΔE00 4.71
Pastel Purple
#CAA0FF
ΔE00 4.78
Lavender (survey)
#C79FEF
ΔE00 5.57
Violet (CSS)
#EE82EE
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D892FF #B9FF92
analogous
#A192FF #D892FF #FF92EF
triadic
#D892FF #FFD892 #92FFD8
tetradic
#D892FF #FFA192 #B9FF92 #92EFFF
square
#D892FF #FFA192 #B9FF92 #92EFFF
split-complementary
#D892FF #EFFF92 #92FFA1
monochromatic
#AC18FF #C255FF #D892FF #EECFFF #F4E0FF
Accessibility & contrast
On white
2.22
#D892FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#D892FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D892FF
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D892FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D892FF | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 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)
#7CAAFF
Deuteranopia (green-blind)
#8EB0FC
Tritanopia (blue-blind)
#D4A2BC
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d892ff; /* rgb */ color: rgb(216, 146, 255); /* oklch */ color: oklch(77.0% 0.166 312.6);
Tailwind
colors: {
custom: {
50: '#e6b3ff',
500: '#d892ff',
950: '#000000',
},
}SCSS
$custom: #d892ff; $custom-light: #e6b3ff; $custom-dark: #000000;
JSON
{
"hex": "#d892ff",
"rgb": {
"r": 216,
"g": 146,
"b": 255
},
"hsl": {
"h": 278.532,
"s": 100,
"l": 78.627
},
"oklch": {
"l": 0.76954,
"c": 0.16582,
"h": 312.6
},
"luminance": 0.42377
}Semantic roles & 50–950 ramp
primary
#D892FF
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086