#D892EA#D892EA

#D892EA is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.0% C 0.143 H 319.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#D892EA
RGBrgb(216, 146, 234)
HSLhsl(288, 68%, 75%)
HSVhsv(288, 38%, 92%)
CMYKcmyk(7.7%, 37.6%, 0%, 8.2%)
CIE-LABlab(70.25, 40.95, -33.96)
CIE-LCHlch(70.25, 53.20, 320.33°)
OKLaboklab(76% 0.1082 -0.0932)
OKLCHoklch(76% 0.143 319.3)
XYZxyz(53.4471, 41.0988, 82.9434)
Luminance0.4110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892EA #A4EA92
analogous
#AC92EA #D892EA #EA92D0
triadic
#D892EA #EAD892 #92EAD8
tetradic
#D892EA #EAAC92 #A4EA92 #92D0EA
square
#D892EA #EAAC92 #A4EA92 #92D0EA
split-complementary
#D892EA #D0EA92 #92EAAC
monochromatic
#B32BD6 #C65FE0 #D892EA #EAC5F4 #F6E5FA

Accessibility & contrast

On white

2.28
#D892EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#D892EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892EA
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892EA#FFFFFF#000000##000000
##D892EA1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#98AEE7
Tritanopia (blue-blind)
#D99DB3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d892ea;
/* rgb */ color: rgb(216, 146, 234);
/* oklch */ color: oklch(76.0% 0.143 319.3);
Tailwind
colors: {
  custom: {
    50: '#e5b3f1',
    500: '#d892ea',
    950: '#000000',
  },
}
SCSS
$custom: #d892ea;
$custom-light: #e5b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d892ea",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 287.727,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75998,
    "c": 0.14275,
    "h": 319.3
  },
  "luminance": 0.41097
}

Semantic roles & 50–950 ramp

primary
#D892EA
secondary
#DEF2D9
accent
#D0163C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D892EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D892EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva