#D893E7#D893E7

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

Color values

HEX#D893E7
RGBrgb(216, 147, 231)
HSLhsl(289, 64%, 74%)
HSVhsv(289, 36%, 91%)
CMYKcmyk(6.5%, 36.4%, 0%, 9.4%)
CIE-LABlab(70.34, 39.83, -32.16)
CIE-LCHlch(70.34, 51.20, 321.08°)
OKLaboklab(76.03% 0.106 -0.0881)
OKLCHoklch(76.03% 0.138 320.3)
XYZxyz(53.1746, 41.2375, 80.7444)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893E7 #A2E793
analogous
#AE93E7 #D893E7 #E793CC
triadic
#D893E7 #E7D893 #93E7D8
tetradic
#D893E7 #E7AE93 #A2E793 #93CCE7
square
#D893E7 #E7AE93 #A2E793 #93CCE7
split-complementary
#D893E7 #CCE793 #93E7AE
monochromatic
#B42FD1 #C661DC #D893E7 #EAC5F2 #F6E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D893E7#FFFFFF#000000##000000
##D893E71.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)
#88A7EA
Deuteranopia (green-blind)
#9AAFE4
Tritanopia (blue-blind)
#D99DB2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d893e7;
/* rgb */ color: rgb(216, 147, 231);
/* oklch */ color: oklch(76.0% 0.138 320.3);
Tailwind
colors: {
  custom: {
    50: '#e5b4ef',
    500: '#d893e7',
    950: '#000000',
  },
}
SCSS
$custom: #d893e7;
$custom-light: #e5b4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d893e7",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 231
  },
  "hsl": {
    "h": 289.286,
    "s": 63.636,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76032,
    "c": 0.13784,
    "h": 320.3
  },
  "luminance": 0.41236
}

Semantic roles & 50–950 ramp

primary
#D893E7
secondary
#DEF1DA
accent
#CB1A3A
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D893E7

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

Preview Lab → · Contrast checker → · Palette generator →

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