#D96AF1#D96AF1

#D96AF1 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.6% C 0.215 H 320.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D96AF1
RGBrgb(217, 106, 241)
HSLhsl(289, 83%, 68%)
HSVhsv(289, 56%, 95%)
CMYKcmyk(10%, 56%, 0%, 5.5%)
CIE-LABlab(62.85, 62.78, -49.38)
CIE-LCHlch(62.85, 79.87, 321.81°)
OKLaboklab(70.63% 0.1649 -0.1373)
OKLCHoklch(70.63% 0.215 320.2)
XYZxyz(49.6446, 31.4128, 86.6503)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AF1 #82F16A
analogous
#956AF1 #D96AF1 #F16AC6
triadic
#D96AF1 #F1D96A #6AF1D9
tetradic
#D96AF1 #F1956A #82F16A #6AC6F1
square
#D96AF1 #F1956A #82F16A #6AC6F1
split-complementary
#D96AF1 #C6F16A #6AF195
monochromatic
#AC13CD #CB32EC #D96AF1 #E7A2F6 #F6DAFC

Accessibility & contrast

On white

2.88
#D96AF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D96AF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AF1
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AF1#FFFFFF#000000##000000
##D96AF11.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F5
Deuteranopia (green-blind)
#759CED
Tritanopia (blue-blind)
#DA7EA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96af1;
/* rgb */ color: rgb(217, 106, 241);
/* oklch */ color: oklch(70.6% 0.215 320.2);
Tailwind
colors: {
  custom: {
    50: '#e89af6',
    500: '#d96af1',
    950: '#000000',
  },
}
SCSS
$custom: #d96af1;
$custom-light: #e89af6;
$custom-dark: #000000;
JSON
{
  "hex": "#d96af1",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 289.333,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70632,
    "c": 0.21457,
    "h": 320.2
  },
  "luminance": 0.31411
}

Semantic roles & 50–950 ramp

primary
#D96AF1
secondary
#CEF0C7
accent
#DF062D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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