#D892ED#D892ED

#D892ED is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.1% C 0.146 H 318.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D892ED
RGBrgb(216, 146, 237)
HSLhsl(286, 72%, 75%)
HSVhsv(286, 38%, 93%)
CMYKcmyk(8.9%, 38.4%, 0%, 7.1%)
CIE-LABlab(70.37, 41.54, -35.41)
CIE-LCHlch(70.37, 54.59, 319.55°)
OKLaboklab(76.13% 0.1088 -0.0973)
OKLCHoklch(76.13% 0.146 318.2)
XYZxyz(53.8817, 41.2726, 85.2324)
Luminance0.4127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892ED #A7ED92
analogous
#AA92ED #D892ED #ED92D4
triadic
#D892ED #EDD892 #92EDD8
tetradic
#D892ED #EDAA92 #A7ED92 #92D4ED
square
#D892ED #EDAA92 #A7ED92 #92D4ED
split-complementary
#D892ED #D4ED92 #92EDAA
monochromatic
#B229DC #C55DE4 #D892ED #EBC7F6 #F6E5FB

Accessibility & contrast

On white

2.27
#D892ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#D892ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892ED
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892ED#FFFFFF#000000##000000
##D892ED1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7F0
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#D89DB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d892ed;
/* rgb */ color: rgb(216, 146, 237);
/* oklch */ color: oklch(76.1% 0.146 318.2);
Tailwind
colors: {
  custom: {
    50: '#e5b3f3',
    500: '#d892ed',
    950: '#000000',
  },
}
SCSS
$custom: #d892ed;
$custom-light: #e5b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d892ed",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 237
  },
  "hsl": {
    "h": 286.154,
    "s": 71.654,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76129,
    "c": 0.14597,
    "h": 318.2
  },
  "luminance": 0.41271
}

Semantic roles & 50–950 ramp

primary
#D892ED
secondary
#DFF2D9
accent
#D4123F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D892ED

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

Preview Lab → · Contrast checker → · Palette generator →

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