#D893FD#D893FD

#D893FD is a light, vivid violet. Relative luminance 0.426; OKLCH L 77.0% C 0.162 H 313.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#D893FD
RGBrgb(216, 147, 253)
HSLhsl(279, 96%, 78%)
HSVhsv(279, 42%, 99%)
CMYKcmyk(14.6%, 41.9%, 0%, 0.8%)
CIE-LABlab(71.25, 44.26, -42.76)
CIE-LCHlch(71.25, 61.54, 315.99°)
OKLaboklab(77.02% 0.1105 -0.1184)
OKLCHoklch(77.02% 0.162 313)
XYZxyz(56.4793, 42.5594, 98.1490)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893FD #B8FD93
analogous
#A393FD #D893FD #FD93ED
triadic
#D893FD #FDD893 #93FDD8
tetradic
#D893FD #FDA393 #B8FD93 #93EDFD
square
#D893FD #FDA393 #B8FD93 #93EDFD
split-complementary
#D893FD #EDFD93 #93FDA3
monochromatic
#AD1BFB #C257FC #D893FD #EECFFE #F4E1FE

Accessibility & contrast

On white

2.21
#D893FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#D893FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893FD
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893FD#FFFFFF#000000##000000
##D893FD1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#D5A2BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d893fd;
/* rgb */ color: rgb(216, 147, 253);
/* oklch */ color: oklch(77.0% 0.162 313.0);
Tailwind
colors: {
  custom: {
    50: '#e5b4fe',
    500: '#d893fd',
    950: '#000000',
  },
}
SCSS
$custom: #d893fd;
$custom-light: #e5b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d893fd",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 279.057,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77019,
    "c": 0.16194,
    "h": 313
  },
  "luminance": 0.42558
}

Semantic roles & 50–950 ramp

primary
#D893FD
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D893FD

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

Preview Lab → · Contrast checker → · Palette generator →

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