#D893E5#D893E5

#D893E5 is a light, vivid purple. Relative luminance 0.411; OKLCH L 75.9% C 0.136 H 321.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#D893E5
RGBrgb(216, 147, 229)
HSLhsl(290, 61%, 74%)
HSVhsv(290, 36%, 90%)
CMYKcmyk(5.7%, 35.8%, 0%, 10.2%)
CIE-LABlab(70.26, 39.44, -31.19)
CIE-LCHlch(70.26, 50.28, 321.67°)
OKLaboklab(75.95% 0.1056 -0.0853)
OKLCHoklch(75.95% 0.136 321.1)
XYZxyz(52.8938, 41.1252, 79.2652)
Luminance0.4112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893E5 #A0E593
analogous
#AF93E5 #D893E5 #E593C9
triadic
#D893E5 #E5D893 #93E5D8
tetradic
#D893E5 #E5AF93 #A0E593 #93C9E5
square
#D893E5 #E5AF93 #A0E593 #93C9E5
split-complementary
#D893E5 #C9E593 #93E5AF
monochromatic
#B431CC #C662D9 #D893E5 #EAC4F1 #F6E6F9

Accessibility & contrast

On white

2.28
#D893E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#D893E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893E5
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893E5#FFFFFF#000000##000000
##D893E51.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7E8
Deuteranopia (green-blind)
#9AAEE2
Tritanopia (blue-blind)
#DA9CB2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d893e5;
/* rgb */ color: rgb(216, 147, 229);
/* oklch */ color: oklch(75.9% 0.136 321.1);
Tailwind
colors: {
  custom: {
    50: '#e5b4ed',
    500: '#d893e5',
    950: '#000000',
  },
}
SCSS
$custom: #d893e5;
$custom-light: #e5b4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d893e5",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 229
  },
  "hsl": {
    "h": 290.488,
    "s": 61.194,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75947,
    "c": 0.13571,
    "h": 321.1
  },
  "luminance": 0.41124
}

Semantic roles & 50–950 ramp

primary
#D893E5
secondary
#DEF0DB
accent
#C91D38
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D893E5

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

Preview Lab → · Contrast checker → · Palette generator →

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