#D96AEF#D96AEF

#D96AEF is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.5% C 0.213 H 320.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D96AEF
RGBrgb(217, 106, 239)
HSLhsl(290, 81%, 68%)
HSVhsv(290, 56%, 94%)
CMYKcmyk(9.2%, 55.6%, 0%, 6.3%)
CIE-LABlab(62.76, 62.40, -48.43)
CIE-LCHlch(62.76, 78.99, 322.18°)
OKLaboklab(70.53% 0.1647 -0.1345)
OKLCHoklch(70.53% 0.213 320.8)
XYZxyz(49.3475, 31.2940, 85.0856)
Luminance0.3129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AEF #80EF6A
analogous
#966AEF #D96AEF #EF6AC3
triadic
#D96AEF #EFD96A #6AEFD9
tetradic
#D96AEF #EF966A #80EF6A #6AC3EF
square
#D96AEF #EF966A #80EF6A #6AC3EF
split-complementary
#D96AEF #C3EF6A #6AEF96
monochromatic
#AB16C9 #CB33E9 #D96AEF #E7A1F5 #F5D9FB

Accessibility & contrast

On white

2.89
#D96AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D96AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AEF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AEF#FFFFFF#000000##000000
##D96AEF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#DB7EA3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96aef;
/* rgb */ color: rgb(217, 106, 239);
/* oklch */ color: oklch(70.5% 0.213 320.8);
Tailwind
colors: {
  custom: {
    50: '#e79af5',
    500: '#d96aef',
    950: '#000000',
  },
}
SCSS
$custom: #d96aef;
$custom-light: #e79af5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96aef",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 290.075,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70527,
    "c": 0.2127,
    "h": 320.8
  },
  "luminance": 0.31292
}

Semantic roles & 50–950 ramp

primary
#D96AEF
secondary
#CDEFC6
accent
#DD092C
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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