#D966FD#D966FD

#D966FD is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.8% C 0.231 H 317.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D966FD
RGBrgb(217, 102, 253)
HSLhsl(286, 97%, 70%)
HSVhsv(286, 60%, 99%)
CMYKcmyk(14.2%, 59.7%, 0%, 0.8%)
CIE-LABlab(62.80, 66.89, -56.09)
CIE-LCHlch(62.80, 87.30, 320.02°)
OKLaboklab(70.79% 0.1703 -0.1568)
OKLCHoklch(70.79% 0.231 317.4)
XYZxyz(51.0937, 31.3483, 96.2689)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966FD #8AFD66
analogous
#8D66FD #D966FD #FD66D6
triadic
#D966FD #FDD966 #66FDD9
tetradic
#D966FD #FD8D66 #8AFD66 #66D6FD
square
#D966FD #FD8D66 #8AFD66 #66D6FD
split-complementary
#D966FD #D6FD66 #66FD8D
monochromatic
#B003E6 #CA2AFC #D966FD #E8A2FE #F7DFFF

Accessibility & contrast

On white

2.89
#D966FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D966FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966FD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966FD#FFFFFF#000000##000000
##D966FD1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#6A9CF9
Tritanopia (blue-blind)
#D880A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d966fd;
/* rgb */ color: rgb(217, 102, 253);
/* oklch */ color: oklch(70.8% 0.231 317.4);
Tailwind
colors: {
  custom: {
    50: '#e897ff',
    500: '#d966fd',
    950: '#000000',
  },
}
SCSS
$custom: #d966fd;
$custom-light: #e897ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d966fd",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 285.695,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70794,
    "c": 0.23149,
    "h": 317.4
  },
  "luminance": 0.31346
}

Semantic roles & 50–950 ramp

primary
#D966FD
secondary
#D4F5CA
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D966FD

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

Preview Lab → · Contrast checker → · Palette generator →

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