#D96BFA#D96BFA

#D96BFA is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.2% C 0.222 H 317.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D96BFA
RGBrgb(217, 107, 250)
HSLhsl(286, 93%, 70%)
HSVhsv(286, 57%, 98%)
CMYKcmyk(13.2%, 57.2%, 0%, 2%)
CIE-LABlab(63.48, 64.03, -53.36)
CIE-LCHlch(63.48, 83.35, 320.20°)
OKLaboklab(71.24% 0.1642 -0.1489)
OKLCHoklch(71.24% 0.222 317.8)
XYZxyz(51.1259, 32.1712, 93.9405)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BFA #8CFA6B
analogous
#926BFA #D96BFA #FA6BD3
triadic
#D96BFA #FAD96B #6BFAD9
tetradic
#D96BFA #FA926B #8CFA6B #6BD3FA
square
#D96BFA #FA926B #8CFA6B #6BD3FA
split-complementary
#D96BFA #D3FA6B #6BFA92
monochromatic
#B008E3 #CA30F8 #D96BFA #E8A6FC #F7E1FE

Accessibility & contrast

On white

2.82
#D96BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D96BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BFA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BFA#FFFFFF#000000##000000
##D96BFA1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#D882A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96bfa;
/* rgb */ color: rgb(217, 107, 250);
/* oklch */ color: oklch(71.2% 0.222 317.8);
Tailwind
colors: {
  custom: {
    50: '#e89afc',
    500: '#d96bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d96bfa;
$custom-light: #e89afc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bfa",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 286.154,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.71241,
    "c": 0.22161,
    "h": 317.8
  },
  "luminance": 0.32169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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