#D96FEC#D96FEC

#D96FEC is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.0% C 0.202 H 321.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D96FEC
RGBrgb(217, 111, 236)
HSLhsl(291, 77%, 68%)
HSVhsv(291, 53%, 93%)
CMYKcmyk(8.1%, 53%, 0%, 7.5%)
CIE-LABlab(63.49, 59.48, -45.61)
CIE-LCHlch(63.49, 74.95, 322.52°)
OKLaboklab(71.02% 0.1581 -0.1264)
OKLCHoklch(71.02% 0.202 321.4)
XYZxyz(49.4383, 32.1789, 82.9476)
Luminance0.3218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FEC #82EC6F
analogous
#9A6FEC #D96FEC #EC6FC0
triadic
#D96FEC #ECD96F #6FECD9
tetradic
#D96FEC #EC9A6F #82EC6F #6FC0EC
square
#D96FEC #EC9A6F #82EC6F #6FC0EC
split-complementary
#D96FEC #C0EC6F #6FEC9A
monochromatic
#AC1AC6 #CB39E5 #D96FEC #E7A5F3 #F6DBFA

Accessibility & contrast

On white

2.82
#D96FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D96FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FEC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FEC#FFFFFF#000000##000000
##D96FEC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#DB80A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96fec;
/* rgb */ color: rgb(217, 111, 236);
/* oklch */ color: oklch(71.0% 0.202 321.4);
Tailwind
colors: {
  custom: {
    50: '#e79cf2',
    500: '#d96fec',
    950: '#000000',
  },
}
SCSS
$custom: #d96fec;
$custom-light: #e79cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fec",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 290.88,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71019,
    "c": 0.2024,
    "h": 321.4
  },
  "luminance": 0.32177
}

Semantic roles & 50–950 ramp

primary
#D96FEC
secondary
#CEEFC8
accent
#D90D2C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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