#D966FF#D966FF

#D966FF is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.9% C 0.233 H 316.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D966FF
RGBrgb(217, 102, 255)
HSLhsl(285, 100%, 70%)
HSVhsv(285, 60%, 100%)
CMYKcmyk(14.9%, 60%, 0%, 0%)
CIE-LABlab(62.91, 67.28, -57.02)
CIE-LCHlch(62.91, 88.19, 319.72°)
OKLaboklab(70.91% 0.1703 -0.1595)
OKLCHoklch(70.91% 0.233 316.9)
XYZxyz(51.4140, 31.4764, 97.9556)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966FF #8CFF66
analogous
#8C66FF #D966FF #FF66D9
triadic
#D966FF #FFD966 #66FFD9
tetradic
#D966FF #FF8C66 #8CFF66 #66D9FF
square
#D966FF #FF8C66 #8CFF66 #66D9FF
split-complementary
#D966FF #D9FF66 #66FF8C
monochromatic
#B000EB #CA29FF #D966FF #E8A3FF #F7E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D966FF#FFFFFF#000000##000000
##D966FF1.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)
#3991FF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#D780A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d966ff;
/* rgb */ color: rgb(217, 102, 255);
/* oklch */ color: oklch(70.9% 0.233 316.9);
Tailwind
colors: {
  custom: {
    50: '#e898ff',
    500: '#d966ff',
    950: '#000000',
  },
}
SCSS
$custom: #d966ff;
$custom-light: #e898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d966ff",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 285.098,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.23336,
    "h": 316.9
  },
  "luminance": 0.31474
}

Semantic roles & 50–950 ramp

primary
#D966FF
secondary
#D6F6CB
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D966FF

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

Preview Lab → · Contrast checker → · Palette generator →

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