#D893FB#D893FB

#D893FB is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.9% C 0.160 H 313.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D893FB
RGBrgb(216, 147, 251)
HSLhsl(280, 93%, 78%)
HSVhsv(280, 41%, 98%)
CMYKcmyk(13.9%, 41.4%, 0%, 1.6%)
CIE-LABlab(71.17, 43.85, -41.81)
CIE-LCHlch(71.17, 60.58, 316.36°)
OKLaboklab(76.93% 0.1101 -0.1157)
OKLCHoklch(76.93% 0.16 313.6)
XYZxyz(56.1624, 42.4326, 96.4798)
Luminance0.4243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D893FB #B6FB93
analogous
#A493FB #D893FB #FB93EA
triadic
#D893FB #FBD893 #93FBD8
tetradic
#D893FB #FBA493 #B6FB93 #93EAFB
square
#D893FB #FBA493 #B6FB93 #93EAFB
split-complementary
#D893FB #EAFB93 #93FBA4
monochromatic
#AD1DF7 #C358F9 #D893FB #EDCEFD #F4E1FE

Accessibility & contrast

On white

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

On black

9.49
#D893FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D893FB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D893FB#FFFFFF#000000##000000
##D893FB1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#D5A2BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d893fb;
/* rgb */ color: rgb(216, 147, 251);
/* oklch */ color: oklch(76.9% 0.160 313.6);
Tailwind
colors: {
  custom: {
    50: '#e5b4fd',
    500: '#d893fb',
    950: '#000000',
  },
}
SCSS
$custom: #d893fb;
$custom-light: #e5b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d893fb",
  "rgb": {
    "r": 216,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 279.808,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76925,
    "c": 0.15971,
    "h": 313.6
  },
  "luminance": 0.42431
}

Semantic roles & 50–950 ramp

primary
#D893FB
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D893FB

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

Preview Lab → · Contrast checker → · Palette generator →

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