#D893F9#D893F9

#D893F9 is a light, vivid purple. Relative luminance 0.423; OKLCH L 76.8% C 0.157 H 314.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#D893F9
RGBrgb(216, 147, 249)
HSLhsl(281, 89%, 78%)
HSVhsv(281, 41%, 98%)
CMYKcmyk(13.3%, 41%, 0%, 2.4%)
CIE-LABlab(71.08, 43.43, -40.85)
CIE-LCHlch(71.08, 59.63, 316.75°)
OKLaboklab(76.83% 0.1098 -0.1129)
OKLCHoklch(76.83% 0.157 314.2)
XYZxyz(55.8488, 42.3072, 94.8282)
Luminance0.4231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893F9 #B4F993
analogous
#A593F9 #D893F9 #F993E7
triadic
#D893F9 #F9D893 #93F9D8
tetradic
#D893F9 #F9A593 #B4F993 #93E7F9
square
#D893F9 #F9A593 #B4F993 #93E7F9
split-complementary
#D893F9 #E7F993 #93F9A5
monochromatic
#AE1FF3 #C359F6 #D893F9 #EDCDFC #F5E2FD

Accessibility & contrast

On white

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

On black

9.46
#D893F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893F9
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893F9#FFFFFF#000000##000000
##D893F91.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFD
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#D6A1BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d893f9;
/* rgb */ color: rgb(216, 147, 249);
/* oklch */ color: oklch(76.8% 0.157 314.2);
Tailwind
colors: {
  custom: {
    50: '#e5b4fb',
    500: '#d893f9',
    950: '#000000',
  },
}
SCSS
$custom: #d893f9;
$custom-light: #e5b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d893f9",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 249
  },
  "hsl": {
    "h": 280.588,
    "s": 89.474,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.15747,
    "h": 314.2
  },
  "luminance": 0.42306
}

Semantic roles & 50–950 ramp

primary
#D893F9
secondary
#E0F5D6
accent
#E6004A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D893F9

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

Preview Lab → · Contrast checker → · Palette generator →

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