#D893EB#D893EB

#D893EB is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.2% C 0.142 H 318.8°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#D893EB
RGBrgb(216, 147, 235)
HSLhsl(287, 69%, 75%)
HSVhsv(287, 37%, 92%)
CMYKcmyk(8.1%, 37.4%, 0%, 7.8%)
CIE-LABlab(70.50, 40.62, -34.11)
CIE-LCHlch(70.50, 53.04, 319.98°)
OKLaboklab(76.2% 0.1069 -0.0936)
OKLCHoklch(76.2% 0.142 318.8)
XYZxyz(53.7460, 41.4661, 83.7537)
Luminance0.4147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893EB #A6EB93
analogous
#AC93EB #D893EB #EB93D2
triadic
#D893EB #EBD893 #93EBD8
tetradic
#D893EB #EBAC93 #A6EB93 #93D2EB
square
#D893EB #EBAC93 #A6EB93 #93D2EB
split-complementary
#D893EB #D2EB93 #93EBAC
monochromatic
#B32CD8 #C55FE1 #D893EB #EBC7F5 #F6E5FA

Accessibility & contrast

On white

2.26
#D893EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#D893EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893EB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893EB#FFFFFF#000000##000000
##D893EB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#D99EB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d893eb;
/* rgb */ color: rgb(216, 147, 235);
/* oklch */ color: oklch(76.2% 0.142 318.8);
Tailwind
colors: {
  custom: {
    50: '#e5b4f1',
    500: '#d893eb',
    950: '#000000',
  },
}
SCSS
$custom: #d893eb;
$custom-light: #e5b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d893eb",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 287.045,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.14211,
    "h": 318.8
  },
  "luminance": 0.41465
}

Semantic roles & 50–950 ramp

primary
#D893EB
secondary
#DFF2D9
accent
#D1153D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D893EB

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

Preview Lab → · Contrast checker → · Palette generator →

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