#D96CDE#D96CDE

#D96CDE is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.9% C 0.194 H 325.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D96CDE
RGBrgb(217, 108, 222)
HSLhsl(297, 63%, 65%)
HSVhsv(297, 51%, 87%)
CMYKcmyk(2.3%, 51.4%, 0%, 12.9%)
CIE-LABlab(62.30, 58.35, -39.68)
CIE-LCHlch(62.30, 70.56, 325.78°)
OKLaboklab(69.93% 0.1604 -0.1093)
OKLCHoklch(69.93% 0.194 325.7)
XYZxyz(47.1616, 30.7533, 72.5449)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CDE #71DE6C
analogous
#A06CDE #D96CDE #DE6CAA
triadic
#D96CDE #DED96C #6CDED9
tetradic
#D96CDE #DEA06C #71DE6C #6CAADE
square
#D96CDE #DEA06C #71DE6C #6CAADE
split-complementary
#D96CDE #AADE6C #6CDEA0
monochromatic
#A426AA #CC3AD3 #D96CDE #E69EE9 #F3D0F4

Accessibility & contrast

On white

2.94
#D96CDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D96CDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CDE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CDE#FFFFFF#000000##000000
##D96CDE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE2
Deuteranopia (green-blind)
#809BDB
Tritanopia (blue-blind)
#DE7A9B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96cde;
/* rgb */ color: rgb(217, 108, 222);
/* oklch */ color: oklch(69.9% 0.194 325.7);
Tailwind
colors: {
  custom: {
    50: '#e79ae8',
    500: '#d96cde',
    950: '#000000',
  },
}
SCSS
$custom: #d96cde;
$custom-light: #e79ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cde",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 297.368,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69929,
    "c": 0.19408,
    "h": 325.7
  },
  "luminance": 0.30751
}

Semantic roles & 50–950 ramp

primary
#D96CDE
secondary
#C1E6BF
accent
#CB1A22
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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