#D96AFC#D96AFC

#D96AFC is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.2% C 0.225 H 317.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D96AFC
RGBrgb(217, 106, 252)
HSLhsl(286, 96%, 70%)
HSVhsv(286, 58%, 99%)
CMYKcmyk(13.9%, 57.9%, 0%, 1.2%)
CIE-LABlab(63.42, 64.88, -54.56)
CIE-LCHlch(63.42, 84.77, 319.94°)
OKLaboklab(71.23% 0.1655 -0.1524)
OKLCHoklch(71.23% 0.225 317.4)
XYZxyz(51.3375, 32.0900, 95.5663)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AFC #8DFC6A
analogous
#906AFC #D96AFC #FC6AD6
triadic
#D96AFC #FCD96A #6AFCD9
tetradic
#D96AFC #FC906A #8DFC6A #6AD6FC
square
#D96AFC #FC906A #8DFC6A #6AD6FC
split-complementary
#D96AFC #D6FC6A #6AFC90
monochromatic
#B105E7 #CA2EFB #D96AFC #E8A6FD #F7E1FE

Accessibility & contrast

On white

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

On black

7.42
#D96AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AFC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AFC#FFFFFF#000000##000000
##D96AFC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#D882A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96afc;
/* rgb */ color: rgb(217, 106, 252);
/* oklch */ color: oklch(71.2% 0.225 317.4);
Tailwind
colors: {
  custom: {
    50: '#e89afe',
    500: '#d96afc',
    950: '#000000',
  },
}
SCSS
$custom: #d96afc;
$custom-light: #e89afe;
$custom-dark: #000000;
JSON
{
  "hex": "#d96afc",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 285.616,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.22494,
    "h": 317.4
  },
  "luminance": 0.32088
}

Semantic roles & 50–950 ramp

primary
#D96AFC
secondary
#D6F5CD
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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