#D96BF8#D96BF8

#D96BF8 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.1% C 0.220 H 318.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D96BF8
RGBrgb(217, 107, 248)
HSLhsl(287, 91%, 70%)
HSVhsv(287, 57%, 97%)
CMYKcmyk(12.5%, 56.9%, 0%, 2.7%)
CIE-LABlab(63.38, 63.65, -52.42)
CIE-LCHlch(63.38, 82.45, 320.53°)
OKLaboklab(71.13% 0.1641 -0.1461)
OKLCHoklch(71.13% 0.22 318.3)
XYZxyz(50.8139, 32.0464, 92.2977)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BF8 #8AF86B
analogous
#936BF8 #D96BF8 #F86BD0
triadic
#D96BF8 #F8D96B #6BF8D9
tetradic
#D96BF8 #F8936B #8AF86B #6BD0F8
square
#D96BF8 #F8936B #8AF86B #6BD0F8
split-complementary
#D96BF8 #D0F86B #6BF893
monochromatic
#B00BDE #CA31F5 #D96BF8 #E8A5FB #F7E0FE

Accessibility & contrast

On white

2.83
#D96BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D96BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BF8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BF8#FFFFFF#000000##000000
##D96BF81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#D981A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96bf8;
/* rgb */ color: rgb(217, 107, 248);
/* oklch */ color: oklch(71.1% 0.220 318.3);
Tailwind
colors: {
  custom: {
    50: '#e89afb',
    500: '#d96bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d96bf8;
$custom-light: #e89afb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bf8",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 286.809,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71132,
    "c": 0.21971,
    "h": 318.3
  },
  "luminance": 0.32044
}

Semantic roles & 50–950 ramp

primary
#D96BF8
secondary
#D4F4CB
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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