#D96BFE#D96BFE

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

Color values

HEX#D96BFE
RGBrgb(217, 107, 254)
HSLhsl(285, 99%, 71%)
HSVhsv(285, 58%, 100%)
CMYKcmyk(14.6%, 57.9%, 0%, 0.4%)
CIE-LABlab(63.69, 64.81, -55.23)
CIE-LCHlch(63.69, 85.15, 319.56°)
OKLaboklab(71.46% 0.1643 -0.1543)
OKLCHoklch(71.46% 0.225 316.8)
XYZxyz(51.7597, 32.4247, 97.2788)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BFE #90FE6B
analogous
#8F6BFE #D96BFE #FE6BD9
triadic
#D96BFE #FED96B #6BFED9
tetradic
#D96BFE #FE8F6B #90FE6B #6BD9FE
square
#D96BFE #FE8F6B #90FE6B #6BD9FE
split-complementary
#D96BFE #D9FE6B #6BFE8F
monochromatic
#B202ED #C92EFE #D96BFE #E9A8FE #F7E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D96BFE#FFFFFF#000000##000000
##D96BFE1.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)
#4493FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#D783AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96bfe;
/* rgb */ color: rgb(217, 107, 254);
/* oklch */ color: oklch(71.5% 0.225 316.8);
Tailwind
colors: {
  custom: {
    50: '#e89aff',
    500: '#d96bfe',
    950: '#000000',
  },
}
SCSS
$custom: #d96bfe;
$custom-light: #e89aff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bfe",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 284.898,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7146,
    "c": 0.22543,
    "h": 316.8
  },
  "luminance": 0.32423
}

Semantic roles & 50–950 ramp

primary
#D96BFE
secondary
#D9F6CF
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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