#D96FD4#D96FD4

#D96FD4 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.180 H 329.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D96FD4
RGBrgb(217, 111, 212)
HSLhsl(303, 58%, 64%)
HSVhsv(303, 49%, 85%)
CMYKcmyk(0%, 48.8%, 2.3%, 14.9%)
CIE-LABlab(62.40, 55.14, -33.91)
CIE-LCHlch(62.40, 64.73, 328.41°)
OKLaboklab(69.86% 0.1548 -0.0928)
OKLCHoklch(69.86% 0.18 329.1)
XYZxyz(46.1828, 30.8767, 65.8018)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FD4 #6FD974
analogous
#A96FD9 #D96FD4 #D96F9F
triadic
#D96FD4 #D4D96F #6FD4D9
tetradic
#D96FD4 #D9A96F #6FD974 #6F9FD9
square
#D96FD4 #D9A96F #6FD974 #6F9FD9
split-complementary
#D96FD4 #9FD96F #6FD9A9
monochromatic
#A32B9D #CC3FC6 #D96FD4 #E69FE2 #F3D0F1

Accessibility & contrast

On white

2.93
#D96FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D96FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FD4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FD4#FFFFFF#000000##000000
##D96FD41.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#879CD1
Tritanopia (blue-blind)
#DF7998
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96fd4;
/* rgb */ color: rgb(217, 111, 212);
/* oklch */ color: oklch(69.9% 0.180 329.1);
Tailwind
colors: {
  custom: {
    50: '#e79ce1',
    500: '#d96fd4',
    950: '#000000',
  },
}
SCSS
$custom: #d96fd4;
$custom-light: #e79ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fd4",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 302.83,
    "s": 58.242,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.18047,
    "h": 329.1
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#D96FD4
secondary
#C0E4C1
accent
#C62720
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D96FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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