#D893F8#D893F8

#D893F8 is a light, vivid purple. Relative luminance 0.422; OKLCH L 76.8% C 0.156 H 314.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#D893F8
RGBrgb(216, 147, 248)
HSLhsl(281, 88%, 77%)
HSVhsv(281, 41%, 97%)
CMYKcmyk(12.9%, 40.7%, 0%, 2.7%)
CIE-LABlab(71.04, 43.23, -40.38)
CIE-LCHlch(71.04, 59.15, 316.96°)
OKLaboklab(76.79% 0.1096 -0.1115)
OKLCHoklch(76.79% 0.156 314.5)
XYZxyz(55.6932, 42.2449, 94.0090)
Luminance0.4224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893F8 #B3F893
analogous
#A593F8 #D893F8 #F893E6
triadic
#D893F8 #F8D893 #93F8D8
tetradic
#D893F8 #F8A593 #B3F893 #93E6F8
square
#D893F8 #F8A593 #B3F893 #93E6F8
split-complementary
#D893F8 #E6F893 #93F8A5
monochromatic
#AE20F1 #C35AF4 #D893F8 #EDCCFC #F5E2FD

Accessibility & contrast

On white

2.22
#D893F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#D893F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893F8
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893F8#FFFFFF#000000##000000
##D893F81.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#92B0F5
Tritanopia (blue-blind)
#D6A1BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d893f8;
/* rgb */ color: rgb(216, 147, 248);
/* oklch */ color: oklch(76.8% 0.156 314.5);
Tailwind
colors: {
  custom: {
    50: '#e5b4fb',
    500: '#d893f8',
    950: '#000000',
  },
}
SCSS
$custom: #d893f8;
$custom-light: #e5b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d893f8",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 248
  },
  "hsl": {
    "h": 280.99,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76786,
    "c": 0.15636,
    "h": 314.5
  },
  "luminance": 0.42244
}

Semantic roles & 50–950 ramp

primary
#D893F8
secondary
#E0F5D6
accent
#E40149
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D893F8

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

Preview Lab → · Contrast checker → · Palette generator →

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