#D893E4#D893E4

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

Color values

HEX#D893E4
RGBrgb(216, 147, 228)
HSLhsl(291, 60%, 74%)
HSVhsv(291, 36%, 89%)
CMYKcmyk(5.3%, 35.5%, 0%, 10.6%)
CIE-LABlab(70.22, 39.25, -30.70)
CIE-LCHlch(70.22, 49.83, 321.97°)
OKLaboklab(75.9% 0.1053 -0.0839)
OKLCHoklch(75.9% 0.135 321.5)
XYZxyz(52.7545, 41.0695, 78.5320)
Luminance0.4107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893E4 #9FE493
analogous
#AF93E4 #D893E4 #E493C7
triadic
#D893E4 #E4D893 #93E4D8
tetradic
#D893E4 #E4AF93 #9FE493 #93C7E4
square
#D893E4 #E4AF93 #9FE493 #93C7E4
split-complementary
#D893E4 #C7E493 #93E4AF
monochromatic
#B433CA #C662D8 #D893E4 #EAC4F0 #F6E7F9

Accessibility & contrast

On white

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

On black

9.21
#D893E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893E4
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893E4#FFFFFF#000000##000000
##D893E41.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA7E7
Deuteranopia (green-blind)
#9BAEE1
Tritanopia (blue-blind)
#DA9CB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d893e4;
/* rgb */ color: rgb(216, 147, 228);
/* oklch */ color: oklch(75.9% 0.135 321.5);
Tailwind
colors: {
  custom: {
    50: '#e5b4ec',
    500: '#d893e4',
    950: '#000000',
  },
}
SCSS
$custom: #d893e4;
$custom-light: #e5b4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d893e4",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 228
  },
  "hsl": {
    "h": 291.111,
    "s": 60,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75904,
    "c": 0.13466,
    "h": 321.5
  },
  "luminance": 0.41068
}

Semantic roles & 50–950 ramp

primary
#D893E4
secondary
#DEF0DB
accent
#C81E37
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D893E4

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

Preview Lab → · Contrast checker → · Palette generator →

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