#D892EF#D892EF

#D892EF is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.2% C 0.148 H 317.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#D892EF
RGBrgb(216, 146, 239)
HSLhsl(285, 74%, 75%)
HSVhsv(285, 39%, 94%)
CMYKcmyk(9.6%, 38.9%, 0%, 6.3%)
CIE-LABlab(70.45, 41.94, -36.38)
CIE-LCHlch(70.45, 55.52, 319.06°)
OKLaboklab(76.22% 0.1092 -0.1001)
OKLCHoklch(76.22% 0.148 317.5)
XYZxyz(54.1756, 41.3902, 86.7799)
Luminance0.4139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892EF #A9EF92
analogous
#A992EF #D892EF #EF92D8
triadic
#D892EF #EFD892 #92EFD8
tetradic
#D892EF #EFA992 #A9EF92 #92D8EF
square
#D892EF #EFA992 #A9EF92 #92D8EF
split-complementary
#D892EF #D8EF92 #92EFA9
monochromatic
#B227DF #C55DE7 #D892EF #EBC7F7 #F5E4FB

Accessibility & contrast

On white

2.26
#D892EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#D892EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892EF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892EF#FFFFFF#000000##000000
##D892EF1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#D89EB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d892ef;
/* rgb */ color: rgb(216, 146, 239);
/* oklch */ color: oklch(76.2% 0.148 317.5);
Tailwind
colors: {
  custom: {
    50: '#e5b3f4',
    500: '#d892ef',
    950: '#000000',
  },
}
SCSS
$custom: #d892ef;
$custom-light: #e5b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d892ef",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 285.161,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76218,
    "c": 0.14814,
    "h": 317.5
  },
  "luminance": 0.41389
}

Semantic roles & 50–950 ramp

primary
#D892EF
secondary
#DFF3D8
accent
#D70F40
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D892EF

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

Preview Lab → · Contrast checker → · Palette generator →

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