#D96AEC#D96AEC

#D96AEC is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.4% C 0.210 H 321.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D96AEC
RGBrgb(217, 106, 236)
HSLhsl(291, 77%, 67%)
HSVhsv(291, 55%, 93%)
CMYKcmyk(8.1%, 55.1%, 0%, 7.5%)
CIE-LABlab(62.61, 61.84, -47.00)
CIE-LCHlch(62.61, 77.68, 322.76°)
OKLaboklab(70.37% 0.1645 -0.1304)
OKLCHoklch(70.37% 0.21 321.6)
XYZxyz(48.9080, 31.1182, 82.7708)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AEC #7DEC6A
analogous
#986AEC #D96AEC #EC6ABE
triadic
#D96AEC #ECD96A #6AECD9
tetradic
#D96AEC #EC986A #7DEC6A #6ABEEC
square
#D96AEC #EC986A #7DEC6A #6ABEEC
split-complementary
#D96AEC #BEEC6A #6AEC98
monochromatic
#AA19C3 #CB34E5 #D96AEC #E7A0F3 #F5D7FA

Accessibility & contrast

On white

2.91
#D96AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#D96AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AEC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AEC#FFFFFF#000000##000000
##D96AEC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#DB7DA1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96aec;
/* rgb */ color: rgb(217, 106, 236);
/* oklch */ color: oklch(70.4% 0.210 321.6);
Tailwind
colors: {
  custom: {
    50: '#e799f2',
    500: '#d96aec',
    950: '#000000',
  },
}
SCSS
$custom: #d96aec;
$custom-light: #e799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d96aec",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 291.231,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70371,
    "c": 0.20992,
    "h": 321.6
  },
  "luminance": 0.31116
}

Semantic roles & 50–950 ramp

primary
#D96AEC
secondary
#CAEEC4
accent
#DA0C2A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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