#D893FF#D893FF

#D893FF is a light, vivid violet. Relative luminance 0.427; OKLCH L 77.1% C 0.164 H 312.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#D893FF
RGBrgb(216, 147, 255)
HSLhsl(278, 100%, 79%)
HSVhsv(278, 42%, 100%)
CMYKcmyk(15.3%, 42.4%, 0%, 0%)
CIE-LABlab(71.34, 44.68, -43.71)
CIE-LCHlch(71.34, 62.50, 315.63°)
OKLaboklab(77.11% 0.1108 -0.1211)
OKLCHoklch(77.11% 0.164 312.5)
XYZxyz(56.7995, 42.6875, 99.8357)
Luminance0.4269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893FF #BAFF93
analogous
#A293FF #D893FF #FF93F0
triadic
#D893FF #FFD893 #93FFD8
tetradic
#D893FF #FFA293 #BAFF93 #93F0FF
square
#D893FF #FFA293 #BAFF93 #93F0FF
split-complementary
#D893FF #F0FF93 #93FFA2
monochromatic
#AC19FF #C256FF #D893FF #EED0FF #F4E0FF

Accessibility & contrast

On white

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

On black

9.54
#D893FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893FF
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893FF#FFFFFF#000000##000000
##D893FF1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DABFF
Deuteranopia (green-blind)
#8FB0FC
Tritanopia (blue-blind)
#D4A3BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d893ff;
/* rgb */ color: rgb(216, 147, 255);
/* oklch */ color: oklch(77.1% 0.164 312.5);
Tailwind
colors: {
  custom: {
    50: '#e6b4ff',
    500: '#d893ff',
    950: '#000000',
  },
}
SCSS
$custom: #d893ff;
$custom-light: #e6b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d893ff",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 278.333,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77113,
    "c": 0.16419,
    "h": 312.5
  },
  "luminance": 0.42686
}

Semantic roles & 50–950 ramp

primary
#D893FF
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D893FF

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

Preview Lab → · Contrast checker → · Palette generator →

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