#D96FDF#D96FDF

#D96FDF is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.4% C 0.190 H 325.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D96FDF
RGBrgb(217, 111, 223)
HSLhsl(297, 64%, 65%)
HSVhsv(297, 50%, 87%)
CMYKcmyk(2.7%, 50.2%, 0%, 12.5%)
CIE-LABlab(62.89, 57.09, -39.32)
CIE-LCHlch(62.89, 69.32, 325.44°)
OKLaboklab(70.38% 0.1565 -0.1083)
OKLCHoklch(70.38% 0.19 325.3)
XYZxyz(47.6179, 31.4508, 73.3601)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FDF #75DF6F
analogous
#A16FDF #D96FDF #DF6FAD
triadic
#D96FDF #DFD96F #6FDFD9
tetradic
#D96FDF #DFA16F #75DF6F #6FADDF
square
#D96FDF #DFA16F #75DF6F #6FADDF
split-complementary
#D96FDF #ADDF6F #6FDFA1
monochromatic
#A626AD #CC3DD4 #D96FDF #E6A1EA #F3D3F5

Accessibility & contrast

On white

2.88
#D96FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D96FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FDF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FDF#FFFFFF#000000##000000
##D96FDF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E3
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#DE7C9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96fdf;
/* rgb */ color: rgb(217, 111, 223);
/* oklch */ color: oklch(70.4% 0.190 325.3);
Tailwind
colors: {
  custom: {
    50: '#e79ce9',
    500: '#d96fdf',
    950: '#000000',
  },
}
SCSS
$custom: #d96fdf;
$custom-light: #e79ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fdf",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 296.786,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70377,
    "c": 0.19031,
    "h": 325.3
  },
  "luminance": 0.31448
}

Semantic roles & 50–950 ramp

primary
#D96FDF
secondary
#C4E8C2
accent
#CB1A24
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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