#D96FFE#D96FFE

#D96FFE is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 72.0% C 0.220 H 316.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D96FFE
RGBrgb(217, 111, 254)
HSLhsl(284, 99%, 72%)
HSVhsv(284, 56%, 100%)
CMYKcmyk(14.6%, 56.3%, 0%, 0.4%)
CIE-LABlab(64.39, 62.94, -54.12)
CIE-LCHlch(64.39, 83.01, 319.31°)
OKLaboklab(71.97% 0.1594 -0.1511)
OKLCHoklch(71.97% 0.22 316.5)
XYZxyz(52.1864, 33.2782, 97.4210)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FFE #94FE6F
analogous
#926FFE #D96FFE #FE6FDB
triadic
#D96FFE #FED96F #6FFED9
tetradic
#D96FFE #FE926F #94FE6F #6FDBFE
square
#D96FFE #FE926F #94FE6F #6FDBFE
split-complementary
#D96FFE #DBFE6F #6FFE92
monochromatic
#B302F1 #C932FE #D96FFE #E9ACFE #F7E1FF

Accessibility & contrast

On white

2.74
#D96FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D96FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FFE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FFE#FFFFFF#000000##000000
##D96FFE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#D786AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d96ffe;
/* rgb */ color: rgb(217, 111, 254);
/* oklch */ color: oklch(72.0% 0.220 316.5);
Tailwind
colors: {
  custom: {
    50: '#e89dff',
    500: '#d96ffe',
    950: '#000000',
  },
}
SCSS
$custom: #d96ffe;
$custom-light: #e89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ffe",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 284.476,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71966,
    "c": 0.21968,
    "h": 316.5
  },
  "luminance": 0.33276
}

Semantic roles & 50–950 ramp

primary
#D96FFE
secondary
#DCF7D2
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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