#D96CFA#D96CFA

#D96CFA is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.4% C 0.220 H 317.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D96CFA
RGBrgb(217, 108, 250)
HSLhsl(286, 93%, 70%)
HSVhsv(286, 57%, 98%)
CMYKcmyk(13.2%, 56.8%, 0%, 2%)
CIE-LABlab(63.66, 63.57, -53.08)
CIE-LCHlch(63.66, 82.81, 320.14°)
OKLaboklab(71.37% 0.1629 -0.1481)
OKLCHoklch(71.37% 0.22 317.7)
XYZxyz(51.2307, 32.3809, 93.9755)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CFA #8DFA6C
analogous
#926CFA #D96CFA #FA6CD4
triadic
#D96CFA #FAD96C #6CFAD9
tetradic
#D96CFA #FA926C #8DFA6C #6CD4FA
square
#D96CFA #FA926C #8DFA6C #6CD4FA
split-complementary
#D96CFA #D4FA6C #6CFA92
monochromatic
#B108E4 #CA31F8 #D96CFA #E8A7FC #F7E1FE

Accessibility & contrast

On white

2.81
#D96CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D96CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CFA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CFA#FFFFFF#000000##000000
##D96CFA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FF
Deuteranopia (green-blind)
#719EF6
Tritanopia (blue-blind)
#D883A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96cfa;
/* rgb */ color: rgb(217, 108, 250);
/* oklch */ color: oklch(71.4% 0.220 317.7);
Tailwind
colors: {
  custom: {
    50: '#e89bfc',
    500: '#d96cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d96cfa;
$custom-light: #e89bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cfa",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 286.056,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71367,
    "c": 0.22017,
    "h": 317.7
  },
  "luminance": 0.32379
}

Semantic roles & 50–950 ramp

primary
#D96CFA
secondary
#D6F5CD
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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