#D96ECC#D96ECC

#D96ECC is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.175 H 332.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D96ECC
RGBrgb(217, 110, 204)
HSLhsl(307, 58%, 64%)
HSVhsv(307, 49%, 85%)
CMYKcmyk(0%, 49.3%, 6%, 14.9%)
CIE-LABlab(61.88, 54.26, -30.22)
CIE-LCHlch(61.88, 62.10, 330.89°)
OKLaboklab(69.37% 0.1547 -0.0822)
OKLCHoklch(69.37% 0.175 332)
XYZxyz(45.0901, 30.2660, 60.5820)
Luminance0.3026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96ECC #6ED97B
analogous
#B16ED9 #D96ECC #D96E97
triadic
#D96ECC #CCD96E #6ECCD9
tetradic
#D96ECC #D9B16E #6ED97B #6E97D9
square
#D96ECC #D9B16E #6ED97B #6E97D9
split-complementary
#D96ECC #97D96E #6ED9B1
monochromatic
#A22A94 #CC3EBB #D96ECC #E69EDD #F2CFEE

Accessibility & contrast

On white

2.98
#D96ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D96ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96ECC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96ECC#FFFFFF#000000##000000
##D96ECC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#E17694
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d96ecc;
/* rgb */ color: rgb(217, 110, 204);
/* oklch */ color: oklch(69.4% 0.175 332.0);
Tailwind
colors: {
  custom: {
    50: '#e79bdb',
    500: '#d96ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d96ecc;
$custom-light: #e79bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ecc",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 307.29,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69366,
    "c": 0.17523,
    "h": 332
  },
  "luminance": 0.30263
}

Semantic roles & 50–950 ramp

primary
#D96ECC
secondary
#BFE4C3
accent
#C6341F
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D96ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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