#D996FA#D996FA

#D996FA is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.5% C 0.154 H 313.9°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#D996FA
RGBrgb(217, 150, 250)
HSLhsl(280, 91%, 78%)
HSVhsv(280, 40%, 98%)
CMYKcmyk(13.2%, 40%, 0%, 2%)
CIE-LABlab(71.87, 42.33, -40.16)
CIE-LCHlch(71.87, 58.35, 316.51°)
OKLaboklab(77.46% 0.1069 -0.1109)
OKLCHoklch(77.46% 0.154 313.9)
XYZxyz(56.7741, 43.4677, 95.8233)
Luminance0.4347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D996FA #B7FA96
analogous
#A796FA #D996FA #FA96E9
triadic
#D996FA #FAD996 #96FAD9
tetradic
#D996FA #FAA796 #B7FA96 #96E9FA
square
#D996FA #FAA796 #B7FA96 #96E9FA
split-complementary
#D996FA #E9FA96 #96FAA7
monochromatic
#AF21F4 #C45CF7 #D996FA #EED0FD #F4E2FE

Accessibility & contrast

On white

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

On black

9.69
#D996FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D996FA
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D996FA#FFFFFF#000000##000000
##D996FA1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d996fa;
/* rgb */ color: rgb(217, 150, 250);
/* oklch */ color: oklch(77.5% 0.154 313.9);
Tailwind
colors: {
  custom: {
    50: '#e6b6fc',
    500: '#d996fa',
    950: '#000000',
  },
}
SCSS
$custom: #d996fa;
$custom-light: #e6b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d996fa",
  "rgb": {
    "r": 217,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 280.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.15404,
    "h": 313.9
  },
  "luminance": 0.43467
}

Semantic roles & 50–950 ramp

primary
#D996FA
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D996FA

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

Preview Lab → · Contrast checker → · Palette generator →

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