#D893F2#D893F2

#D893F2 is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.5% C 0.150 H 316.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#D893F2
RGBrgb(216, 147, 242)
HSLhsl(284, 79%, 76%)
HSVhsv(284, 39%, 95%)
CMYKcmyk(10.7%, 39.3%, 0%, 5.1%)
CIE-LABlab(70.79, 42.01, -37.50)
CIE-LCHlch(70.79, 56.31, 318.25°)
OKLaboklab(76.51% 0.1084 -0.1033)
OKLCHoklch(76.51% 0.15 316.4)
XYZxyz(54.7773, 41.8786, 89.1850)
Luminance0.4188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893F2 #ADF293
analogous
#A993F2 #D893F2 #F293DD
triadic
#D893F2 #F2D893 #93F2D8
tetradic
#D893F2 #F2A993 #ADF293 #93DDF2
square
#D893F2 #F2A993 #ADF293 #93DDF2
split-complementary
#D893F2 #DDF293 #93F2A9
monochromatic
#B126E5 #C45CEB #D893F2 #ECCAF9 #F5E4FC

Accessibility & contrast

On white

2.24
#D893F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#D893F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893F2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893F2#FFFFFF#000000##000000
##D893F21.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#D79FB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d893f2;
/* rgb */ color: rgb(216, 147, 242);
/* oklch */ color: oklch(76.5% 0.150 316.4);
Tailwind
colors: {
  custom: {
    50: '#e5b4f6',
    500: '#d893f2',
    950: '#000000',
  },
}
SCSS
$custom: #d893f2;
$custom-light: #e5b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d893f2",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 283.579,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76514,
    "c": 0.14973,
    "h": 316.4
  },
  "luminance": 0.41877
}

Semantic roles & 50–950 ramp

primary
#D893F2
secondary
#DFF4D7
accent
#DB0B44
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D893F2

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

Preview Lab → · Contrast checker → · Palette generator →

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