#D96AF2#D96AF2

#D96AF2 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.7% C 0.216 H 319.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D96AF2
RGBrgb(217, 106, 242)
HSLhsl(289, 84%, 68%)
HSVhsv(289, 56%, 95%)
CMYKcmyk(10.3%, 56.2%, 0%, 5.1%)
CIE-LABlab(62.90, 62.97, -49.86)
CIE-LCHlch(62.90, 80.32, 321.63°)
OKLaboklab(70.69% 0.165 -0.1387)
OKLCHoklch(70.69% 0.216 319.9)
XYZxyz(49.7943, 31.4727, 87.4391)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AF2 #83F26A
analogous
#956AF2 #D96AF2 #F26AC7
triadic
#D96AF2 #F2D96A #6AF2D9
tetradic
#D96AF2 #F2956A #83F26A #6AC7F2
square
#D96AF2 #F2956A #83F26A #6AC7F2
split-complementary
#D96AF2 #C7F26A #6AF295
monochromatic
#AD12CF #CB32ED #D96AF2 #E7A2F7 #F6DBFC

Accessibility & contrast

On white

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

On black

7.29
#D96AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AF2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AF2#FFFFFF#000000##000000
##D96AF21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#759CEE
Tritanopia (blue-blind)
#DA7FA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96af2;
/* rgb */ color: rgb(217, 106, 242);
/* oklch */ color: oklch(70.7% 0.216 319.9);
Tailwind
colors: {
  custom: {
    50: '#e89af7',
    500: '#d96af2',
    950: '#000000',
  },
}
SCSS
$custom: #d96af2;
$custom-light: #e89af7;
$custom-dark: #000000;
JSON
{
  "hex": "#d96af2",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 288.971,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70685,
    "c": 0.21551,
    "h": 319.9
  },
  "luminance": 0.31471
}

Semantic roles & 50–950 ramp

primary
#D96AF2
secondary
#CFF1C7
accent
#E0052D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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