#D96AFA#D96AFA

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

Color values

HEX#D96AFA
RGBrgb(217, 106, 250)
HSLhsl(286, 94%, 70%)
HSVhsv(286, 58%, 98%)
CMYKcmyk(13.2%, 57.6%, 0%, 2%)
CIE-LABlab(63.31, 64.49, -53.63)
CIE-LCHlch(63.31, 83.88, 320.26°)
OKLaboklab(71.12% 0.1654 -0.1497)
OKLCHoklch(71.12% 0.223 317.9)
XYZxyz(51.0222, 31.9639, 93.9060)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AFA #8BFA6A
analogous
#916AFA #D96AFA #FA6AD3
triadic
#D96AFA #FAD96A #6AFAD9
tetradic
#D96AFA #FA916A #8BFA6A #6AD3FA
square
#D96AFA #FA916A #8BFA6A #6AD3FA
split-complementary
#D96AFA #D3FA6A #6AFA91
monochromatic
#B008E2 #CA2FF8 #D96AFA #E8A5FC #F7E0FE

Accessibility & contrast

On white

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

On black

7.39
#D96AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AFA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AFA#FFFFFF#000000##000000
##D96AFA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#D881A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96afa;
/* rgb */ color: rgb(217, 106, 250);
/* oklch */ color: oklch(71.1% 0.223 317.9);
Tailwind
colors: {
  custom: {
    50: '#e89afc',
    500: '#d96afa',
    950: '#000000',
  },
}
SCSS
$custom: #d96afa;
$custom-light: #e89afc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96afa",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 286.25,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71116,
    "c": 0.22304,
    "h": 317.9
  },
  "luminance": 0.31962
}

Semantic roles & 50–950 ramp

primary
#D96AFA
secondary
#D5F4CC
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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