#D893FE#D893FE

#D893FE is a light, vivid violet. Relative luminance 0.426; OKLCH L 77.1% C 0.163 H 312.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#D893FE
RGBrgb(216, 147, 254)
HSLhsl(279, 98%, 79%)
HSVhsv(279, 42%, 100%)
CMYKcmyk(15%, 42.1%, 0%, 0.4%)
CIE-LABlab(71.30, 44.47, -43.23)
CIE-LCHlch(71.30, 62.02, 315.81°)
OKLaboklab(77.07% 0.1107 -0.1198)
OKLCHoklch(77.07% 0.163 312.7)
XYZxyz(56.6390, 42.6233, 98.9901)
Luminance0.4262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893FE #B9FE93
analogous
#A293FE #D893FE #FE93EE
triadic
#D893FE #FED893 #93FED8
tetradic
#D893FE #FEA293 #B9FE93 #93EEFE
square
#D893FE #FEA293 #B9FE93 #93EEFE
split-complementary
#D893FE #EEFE93 #93FEA2
monochromatic
#AC1AFD #C256FD #D893FE #EED0FF #F4E1FF

Accessibility & contrast

On white

2.20
#D893FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#D893FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893FE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893FE#FFFFFF#000000##000000
##D893FE1.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#90B0FB
Tritanopia (blue-blind)
#D5A3BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d893fe;
/* rgb */ color: rgb(216, 147, 254);
/* oklch */ color: oklch(77.1% 0.163 312.7);
Tailwind
colors: {
  custom: {
    50: '#e6b4ff',
    500: '#d893fe',
    950: '#000000',
  },
}
SCSS
$custom: #d893fe;
$custom-light: #e6b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d893fe",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 278.692,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77066,
    "c": 0.16307,
    "h": 312.7
  },
  "luminance": 0.42622
}

Semantic roles & 50–950 ramp

primary
#D893FE
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D893FE

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

Preview Lab → · Contrast checker → · Palette generator →

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