#D893ED#D893ED

#D893ED is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.3% C 0.144 H 318.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#D893ED
RGBrgb(216, 147, 237)
HSLhsl(286, 71%, 75%)
HSVhsv(286, 38%, 93%)
CMYKcmyk(8.9%, 38%, 0%, 7.1%)
CIE-LABlab(70.58, 41.01, -35.08)
CIE-LCHlch(70.58, 53.97, 319.46°)
OKLaboklab(76.29% 0.1074 -0.0964)
OKLCHoklch(76.29% 0.144 318.1)
XYZxyz(54.0366, 41.5823, 85.2840)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893ED #A8ED93
analogous
#AB93ED #D893ED #ED93D5
triadic
#D893ED #EDD893 #93EDD8
tetradic
#D893ED #EDAB93 #A8ED93 #93D5ED
square
#D893ED #EDAB93 #A8ED93 #93D5ED
split-complementary
#D893ED #D5ED93 #93EDAB
monochromatic
#B22ADC #C55FE4 #D893ED #EBC7F6 #F6E5FB

Accessibility & contrast

On white

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

On black

9.32
#D893ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893ED
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893ED#FFFFFF#000000##000000
##D893ED1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#97AFEA
Tritanopia (blue-blind)
#D89EB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d893ed;
/* rgb */ color: rgb(216, 147, 237);
/* oklch */ color: oklch(76.3% 0.144 318.1);
Tailwind
colors: {
  custom: {
    50: '#e5b4f3',
    500: '#d893ed',
    950: '#000000',
  },
}
SCSS
$custom: #d893ed;
$custom-light: #e5b4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d893ed",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 237
  },
  "hsl": {
    "h": 286,
    "s": 71.429,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76292,
    "c": 0.14427,
    "h": 318.1
  },
  "luminance": 0.41581
}

Semantic roles & 50–950 ramp

primary
#D893ED
secondary
#DFF2D9
accent
#D3123F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D893ED

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

Preview Lab → · Contrast checker → · Palette generator →

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