#D893EC#D893EC

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

Color values

HEX#D893EC
RGBrgb(216, 147, 236)
HSLhsl(287, 70%, 75%)
HSVhsv(287, 38%, 93%)
CMYKcmyk(8.5%, 37.7%, 0%, 7.5%)
CIE-LABlab(70.54, 40.81, -34.60)
CIE-LCHlch(70.54, 53.50, 319.71°)
OKLaboklab(76.25% 0.1071 -0.095)
OKLCHoklch(76.25% 0.143 318.4)
XYZxyz(53.8909, 41.5240, 84.5167)
Luminance0.4152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893EC #A7EC93
analogous
#AC93EC #D893EC #EC93D3
triadic
#D893EC #ECD893 #93ECD8
tetradic
#D893EC #ECAC93 #A7EC93 #93D3EC
square
#D893EC #ECAC93 #A7EC93 #93D3EC
split-complementary
#D893EC #D3EC93 #93ECAC
monochromatic
#B22BDA #C55FE3 #D893EC #EBC7F5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.30
#D893EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893EC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893EC#FFFFFF#000000##000000
##D893EC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#D89EB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d893ec;
/* rgb */ color: rgb(216, 147, 236);
/* oklch */ color: oklch(76.2% 0.143 318.4);
Tailwind
colors: {
  custom: {
    50: '#e5b4f2',
    500: '#d893ec',
    950: '#000000',
  },
}
SCSS
$custom: #d893ec;
$custom-light: #e5b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d893ec",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 286.517,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76248,
    "c": 0.14319,
    "h": 318.4
  },
  "luminance": 0.41522
}

Semantic roles & 50–950 ramp

primary
#D893EC
secondary
#DFF2D9
accent
#D2133E
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D893EC

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

Preview Lab → · Contrast checker → · Palette generator →

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