#D893FC#D893FC

#D893FC is a light, vivid violet. Relative luminance 0.425; OKLCH L 77.0% C 0.161 H 313.3°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#D893FC
RGBrgb(216, 147, 252)
HSLhsl(279, 95%, 78%)
HSVhsv(279, 42%, 99%)
CMYKcmyk(14.3%, 41.7%, 0%, 1.2%)
CIE-LABlab(71.21, 44.05, -42.28)
CIE-LCHlch(71.21, 61.06, 316.17°)
OKLaboklab(76.97% 0.1103 -0.117)
OKLCHoklch(76.97% 0.161 313.3)
XYZxyz(56.3204, 42.4958, 97.3122)
Luminance0.4249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893FC #B7FC93
analogous
#A393FC #D893FC #FC93EB
triadic
#D893FC #FCD893 #93FCD8
tetradic
#D893FC #FCA393 #B7FC93 #93EBFC
square
#D893FC #FCA393 #B7FC93 #93EBFC
split-complementary
#D893FC #EBFC93 #93FCA3
monochromatic
#AD1CF9 #C257FA #D893FC #EECFFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.50
#D893FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893FC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893FC#FFFFFF#000000##000000
##D893FC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d893fc;
/* rgb */ color: rgb(216, 147, 252);
/* oklch */ color: oklch(77.0% 0.161 313.3);
Tailwind
colors: {
  custom: {
    50: '#e5b4fd',
    500: '#d893fc',
    950: '#000000',
  },
}
SCSS
$custom: #d893fc;
$custom-light: #e5b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d893fc",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 279.429,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76972,
    "c": 0.16082,
    "h": 313.3
  },
  "luminance": 0.42495
}

Semantic roles & 50–950 ramp

primary
#D893FC
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D893FC

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

Preview Lab → · Contrast checker → · Palette generator →

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