#D966FA#D966FA

#D966FA is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.6% C 0.229 H 318.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D966FA
RGBrgb(217, 102, 250)
HSLhsl(287, 94%, 69%)
HSVhsv(287, 59%, 98%)
CMYKcmyk(13.2%, 59.2%, 0%, 2%)
CIE-LABlab(62.64, 66.32, -54.69)
CIE-LCHlch(62.64, 85.96, 320.49°)
OKLaboklab(70.63% 0.1702 -0.1527)
OKLCHoklch(70.63% 0.229 318.1)
XYZxyz(50.6196, 31.1586, 93.7717)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966FA #87FA66
analogous
#8F66FA #D966FA #FA66D1
triadic
#D966FA #FAD966 #66FAD9
tetradic
#D966FA #FA8F66 #87FA66 #66D1FA
square
#D966FA #FA8F66 #87FA66 #66D1FA
split-complementary
#D966FA #D1FA66 #66FA8F
monochromatic
#AE07DE #CA2BF8 #D966FA #E8A1FC #F6DDFE

Accessibility & contrast

On white

2.90
#D966FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D966FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966FA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966FA#FFFFFF#000000##000000
##D966FA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#D87EA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d966fa;
/* rgb */ color: rgb(217, 102, 250);
/* oklch */ color: oklch(70.6% 0.229 318.1);
Tailwind
colors: {
  custom: {
    50: '#e897fc',
    500: '#d966fa',
    950: '#000000',
  },
}
SCSS
$custom: #d966fa;
$custom-light: #e897fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d966fa",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 286.622,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70627,
    "c": 0.22869,
    "h": 318.1
  },
  "luminance": 0.31157
}

Semantic roles & 50–950 ramp

primary
#D966FA
secondary
#D2F4C8
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D966FA

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

Preview Lab → · Contrast checker → · Palette generator →

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