#D96ECD#D96ECD

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

Color values

HEX#D96ECD
RGBrgb(217, 110, 205)
HSLhsl(307, 58%, 64%)
HSVhsv(307, 49%, 85%)
CMYKcmyk(0%, 49.3%, 5.5%, 14.9%)
CIE-LABlab(61.92, 54.42, -30.72)
CIE-LCHlch(61.92, 62.49, 330.56°)
OKLaboklab(69.41% 0.1549 -0.0836)
OKLCHoklch(69.41% 0.176 331.6)
XYZxyz(45.2104, 30.3141, 61.2157)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96ECD #6ED97A
analogous
#B06ED9 #D96ECD #D96E98
triadic
#D96ECD #CDD96E #6ECDD9
tetradic
#D96ECD #D9B06E #6ED97A #6E98D9
square
#D96ECD #D9B06E #6ED97A #6E98D9
split-complementary
#D96ECD #98D96E #6ED9B0
monochromatic
#A22A95 #CC3EBC #D96ECD #E69EDE #F2CFEE

Accessibility & contrast

On white

2.97
#D96ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D96ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96ECD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96ECD#FFFFFF#000000##000000
##D96ECD1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#899BCA
Tritanopia (blue-blind)
#E17694
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d96ecd;
/* rgb */ color: rgb(217, 110, 205);
/* oklch */ color: oklch(69.4% 0.176 331.6);
Tailwind
colors: {
  custom: {
    50: '#e79bdc',
    500: '#d96ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d96ecd;
$custom-light: #e79bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ecd",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 306.729,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6941,
    "c": 0.17607,
    "h": 331.6
  },
  "luminance": 0.30311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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