#D96EC8#D96EC8

#D96EC8 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.2% C 0.172 H 333.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#D96EC8
RGBrgb(217, 110, 200)
HSLhsl(310, 58%, 64%)
HSVhsv(310, 49%, 85%)
CMYKcmyk(0%, 49.3%, 7.8%, 14.9%)
CIE-LABlab(61.72, 53.59, -28.21)
CIE-LCHlch(61.72, 60.56, 332.24°)
OKLaboklab(69.19% 0.154 -0.0765)
OKLCHoklch(69.19% 0.172 333.6)
XYZxyz(44.6165, 30.0766, 58.0877)
Luminance0.3007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EC8 #6ED97F
analogous
#B56ED9 #D96EC8 #D96E93
triadic
#D96EC8 #C8D96E #6EC8D9
tetradic
#D96EC8 #D9B56E #6ED97F #6E93D9
square
#D96EC8 #D9B56E #6ED97F #6E93D9
split-complementary
#D96EC8 #93D96E #6ED9B5
monochromatic
#A22A8F #CC3EB6 #D96EC8 #E69EDA #F2CFED

Accessibility & contrast

On white

2.99
#D96EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#D96EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EC8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EC8#FFFFFF#000000##000000
##D96EC81.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BCB
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#E17492
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d96ec8;
/* rgb */ color: rgb(217, 110, 200);
/* oklch */ color: oklch(69.2% 0.172 333.6);
Tailwind
colors: {
  custom: {
    50: '#e79bd9',
    500: '#d96ec8',
    950: '#000000',
  },
}
SCSS
$custom: #d96ec8;
$custom-light: #e79bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ec8",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 309.533,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69192,
    "c": 0.17192,
    "h": 333.6
  },
  "luminance": 0.30074
}

Semantic roles & 50–950 ramp

primary
#D96EC8
secondary
#BFE4C5
accent
#C63A1F
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D96EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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