#D96AFB#D96AFB

#D96AFB is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.2% C 0.224 H 317.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D96AFB
RGBrgb(217, 106, 251)
HSLhsl(286, 95%, 70%)
HSVhsv(286, 58%, 98%)
CMYKcmyk(13.5%, 57.8%, 0%, 1.6%)
CIE-LABlab(63.37, 64.69, -54.10)
CIE-LCHlch(63.37, 84.32, 320.09°)
OKLaboklab(71.17% 0.1654 -0.151)
OKLCHoklch(71.17% 0.224 317.6)
XYZxyz(51.1794, 32.0268, 94.7340)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AFB #8CFB6A
analogous
#916AFB #D96AFB #FB6AD4
triadic
#D96AFB #FBD96A #6AFBD9
tetradic
#D96AFB #FB916A #8CFB6A #6AD4FB
square
#D96AFB #FB916A #8CFB6A #6AD4FB
split-complementary
#D96AFB #D4FB6A #6AFB91
monochromatic
#B006E4 #CA2EF9 #D96AFB #E8A6FD #F7E1FE

Accessibility & contrast

On white

2.84
#D96AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D96AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AFB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AFB#FFFFFF#000000##000000
##D96AFB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#D882A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96afb;
/* rgb */ color: rgb(217, 106, 251);
/* oklch */ color: oklch(71.2% 0.224 317.6);
Tailwind
colors: {
  custom: {
    50: '#e89afd',
    500: '#d96afb',
    950: '#000000',
  },
}
SCSS
$custom: #d96afb;
$custom-light: #e89afd;
$custom-dark: #000000;
JSON
{
  "hex": "#d96afb",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 285.931,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.22399,
    "h": 317.6
  },
  "luminance": 0.32025
}

Semantic roles & 50–950 ramp

primary
#D96AFB
secondary
#D6F5CC
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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