#D89DEC#D89DEC

#D89DEC is a light, vivid purple. Relative luminance 0.448; OKLCH L 77.9% C 0.126 H 317.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#D89DEC
RGBrgb(216, 157, 236)
HSLhsl(285, 68%, 77%)
HSVhsv(285, 33%, 93%)
CMYKcmyk(8.5%, 33.5%, 0%, 7.5%)
CIE-LABlab(72.74, 35.45, -31.20)
CIE-LCHlch(72.74, 47.22, 318.65°)
OKLaboklab(77.91% 0.0927 -0.0854)
OKLCHoklch(77.91% 0.126 317.3)
XYZxyz(55.5140, 44.7703, 85.0578)
Luminance0.4477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D89DEC #B1EC9D
analogous
#B19DEC #D89DEC #EC9DD9
triadic
#D89DEC #ECD89D #9DECD8
tetradic
#D89DEC #ECB19D #B1EC9D #9DD9EC
square
#D89DEC #ECB19D #B1EC9D #9DD9EC
split-complementary
#D89DEC #D9EC9D #9DECB1
monochromatic
#AF36D8 #C46AE2 #D89DEC #ECD0F6 #F5E5FA

Accessibility & contrast

On white

2.11
#D89DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#D89DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D89DEC
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D89DEC#FFFFFF#000000##000000
##D89DEC1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFEF
Deuteranopia (green-blind)
#A0B4EA
Tritanopia (blue-blind)
#D8A6BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d89dec;
/* rgb */ color: rgb(216, 157, 236);
/* oklch */ color: oklch(77.9% 0.126 317.3);
Tailwind
colors: {
  custom: {
    50: '#e5baf2',
    500: '#d89dec',
    950: '#000000',
  },
}
SCSS
$custom: #d89dec;
$custom-light: #e5baf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d89dec",
  "rgb": {
    "r": 216,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 284.81,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77912,
    "c": 0.12601,
    "h": 317.3
  },
  "luminance": 0.44769
}

Semantic roles & 50–950 ramp

primary
#D89DEC
secondary
#E0F2D9
accent
#CF1645
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D89DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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