#D893EF#D893EF

#D893EF is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.4% C 0.146 H 317.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#D893EF
RGBrgb(216, 147, 239)
HSLhsl(285, 74%, 76%)
HSVhsv(285, 38%, 94%)
CMYKcmyk(9.6%, 38.5%, 0%, 6.3%)
CIE-LABlab(70.66, 41.41, -36.05)
CIE-LCHlch(70.66, 54.90, 318.96°)
OKLaboklab(76.38% 0.1078 -0.0991)
OKLCHoklch(76.38% 0.146 317.4)
XYZxyz(54.3304, 41.6998, 86.8315)
Luminance0.4170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893EF #AAEF93
analogous
#AA93EF #D893EF #EF93D8
triadic
#D893EF #EFD893 #93EFD8
tetradic
#D893EF #EFAA93 #AAEF93 #93D8EF
square
#D893EF #EFAA93 #AAEF93 #93D8EF
split-complementary
#D893EF #D8EF93 #93EFAA
monochromatic
#B228DF #C55EE7 #D893EF #EBC8F7 #F5E4FB

Accessibility & contrast

On white

2.25
#D893EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#D893EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893EF
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893EF#FFFFFF#000000##000000
##D893EF1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#D89FB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d893ef;
/* rgb */ color: rgb(216, 147, 239);
/* oklch */ color: oklch(76.4% 0.146 317.4);
Tailwind
colors: {
  custom: {
    50: '#e5b4f4',
    500: '#d893ef',
    950: '#000000',
  },
}
SCSS
$custom: #d893ef;
$custom-light: #e5b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d893ef",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7638,
    "c": 0.14645,
    "h": 317.4
  },
  "luminance": 0.41698
}

Semantic roles & 50–950 ramp

primary
#D893EF
secondary
#DFF3D8
accent
#D60F41
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D893EF

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

Preview Lab → · Contrast checker → · Palette generator →

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