#D896FA#D896FA

#D896FA is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.4% C 0.154 H 313.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#D896FA
RGBrgb(216, 150, 250)
HSLhsl(280, 91%, 78%)
HSVhsv(280, 40%, 98%)
CMYKcmyk(13.6%, 40%, 0%, 2%)
CIE-LABlab(71.77, 42.04, -40.33)
CIE-LCHlch(71.77, 58.26, 316.19°)
OKLaboklab(77.36% 0.1057 -0.1114)
OKLCHoklch(77.36% 0.154 313.5)
XYZxyz(56.4777, 43.3149, 95.8094)
Luminance0.4331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896FA #B8FA96
analogous
#A696FA #D896FA #FA96EA
triadic
#D896FA #FAD896 #96FAD8
tetradic
#D896FA #FAA696 #B8FA96 #96EAFA
square
#D896FA #FAA696 #B8FA96 #96EAFA
split-complementary
#D896FA #EAFA96 #96FAA6
monochromatic
#AD21F4 #C25CF7 #D896FA #EED0FD #F4E2FE

Accessibility & contrast

On white

2.17
#D896FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#D896FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896FA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896FA#FFFFFF#000000##000000
##D896FA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#94B2F7
Tritanopia (blue-blind)
#D5A4BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d896fa;
/* rgb */ color: rgb(216, 150, 250);
/* oklch */ color: oklch(77.4% 0.154 313.5);
Tailwind
colors: {
  custom: {
    50: '#e5b6fc',
    500: '#d896fa',
    950: '#000000',
  },
}
SCSS
$custom: #d896fa;
$custom-light: #e5b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d896fa",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 279.6,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77362,
    "c": 0.15361,
    "h": 313.5
  },
  "luminance": 0.43314
}

Semantic roles & 50–950 ramp

primary
#D896FA
secondary
#E0F6D5
accent
#E6004E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D896FA

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

Preview Lab → · Contrast checker → · Palette generator →

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