#D96FDC#D96FDC

#D96FDC is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.2% C 0.188 H 326.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D96FDC
RGBrgb(217, 111, 220)
HSLhsl(298, 61%, 65%)
HSVhsv(298, 50%, 86%)
CMYKcmyk(1.4%, 49.5%, 0%, 13.7%)
CIE-LABlab(62.75, 56.55, -37.86)
CIE-LCHlch(62.75, 68.05, 326.20°)
OKLaboklab(70.23% 0.1561 -0.104)
OKLCHoklch(70.23% 0.188 326.3)
XYZxyz(47.2170, 31.2904, 71.2489)
Luminance0.3129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FDC #72DC6F
analogous
#A36FDC #D96FDC #DC6FA8
triadic
#D96FDC #DCD96F #6FDCD9
tetradic
#D96FDC #DCA36F #72DC6F #6FA8DC
square
#D96FDC #DCA36F #72DC6F #6FA8DC
split-complementary
#D96FDC #A8DC6F #6FDCA3
monochromatic
#A429A8 #CC3ED0 #D96FDC #E6A0E8 #F3D1F4

Accessibility & contrast

On white

2.89
#D96FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D96FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FDC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FDC#FFFFFF#000000##000000
##D96FDC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FE0
Deuteranopia (green-blind)
#839DD9
Tritanopia (blue-blind)
#DE7B9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96fdc;
/* rgb */ color: rgb(217, 111, 220);
/* oklch */ color: oklch(70.2% 0.188 326.3);
Tailwind
colors: {
  custom: {
    50: '#e79ce7',
    500: '#d96fdc',
    950: '#000000',
  },
}
SCSS
$custom: #d96fdc;
$custom-light: #e79ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fdc",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 298.349,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70234,
    "c": 0.18759,
    "h": 326.3
  },
  "luminance": 0.31288
}

Semantic roles & 50–950 ramp

primary
#D96FDC
secondary
#C2E6C1
accent
#C91D22
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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