#D892EB#D892EB

#D892EB is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.0% C 0.144 H 318.9°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#D892EB
RGBrgb(216, 146, 235)
HSLhsl(287, 69%, 75%)
HSVhsv(287, 38%, 92%)
CMYKcmyk(8.1%, 37.9%, 0%, 7.8%)
CIE-LABlab(70.29, 41.15, -34.44)
CIE-LCHlch(70.29, 53.66, 320.07°)
OKLaboklab(76.04% 0.1084 -0.0946)
OKLCHoklch(76.04% 0.144 318.9)
XYZxyz(53.5912, 41.1564, 83.7021)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892EB #A5EB92
analogous
#AC92EB #D892EB #EB92D2
triadic
#D892EB #EBD892 #92EBD8
tetradic
#D892EB #EBAC92 #A5EB92 #92D2EB
square
#D892EB #EBAC92 #A5EB92 #92D2EB
split-complementary
#D892EB #D2EB92 #92EBAC
monochromatic
#B32BD8 #C55EE2 #D892EB #EBC6F4 #F6E5FA

Accessibility & contrast

On white

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

On black

9.23
#D892EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892EB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892EB#FFFFFF#000000##000000
##D892EB1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#D99DB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d892eb;
/* rgb */ color: rgb(216, 146, 235);
/* oklch */ color: oklch(76.0% 0.144 318.9);
Tailwind
colors: {
  custom: {
    50: '#e5b3f1',
    500: '#d892eb',
    950: '#000000',
  },
}
SCSS
$custom: #d892eb;
$custom-light: #e5b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d892eb",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 287.191,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.14382,
    "h": 318.9
  },
  "luminance": 0.41155
}

Semantic roles & 50–950 ramp

primary
#D892EB
secondary
#DEF2D9
accent
#D1153D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D892EB

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

Preview Lab → · Contrast checker → · Palette generator →

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