#D966FB#D966FB

#D966FB is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.7% C 0.230 H 317.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D966FB
RGBrgb(217, 102, 251)
HSLhsl(286, 95%, 69%)
HSVhsv(286, 59%, 98%)
CMYKcmyk(13.5%, 59.4%, 0%, 1.6%)
CIE-LABlab(62.69, 66.51, -55.16)
CIE-LCHlch(62.69, 86.41, 320.33°)
OKLaboklab(70.68% 0.1702 -0.1541)
OKLCHoklch(70.68% 0.23 317.8)
XYZxyz(50.7768, 31.2215, 94.5997)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966FB #88FB66
analogous
#8F66FB #D966FB #FB66D2
triadic
#D966FB #FBD966 #66FBD9
tetradic
#D966FB #FB8F66 #88FB66 #66D2FB
square
#D966FB #FB8F66 #88FB66 #66D2FB
split-complementary
#D966FB #D2FB66 #66FB8F
monochromatic
#AF06E1 #CA2AF9 #D966FB #E8A2FD #F7DDFE

Accessibility & contrast

On white

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

On black

7.24
#D966FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966FB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966FB#FFFFFF#000000##000000
##D966FB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#D87FA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d966fb;
/* rgb */ color: rgb(217, 102, 251);
/* oklch */ color: oklch(70.7% 0.230 317.8);
Tailwind
colors: {
  custom: {
    50: '#e897fd',
    500: '#d966fb',
    950: '#000000',
  },
}
SCSS
$custom: #d966fb;
$custom-light: #e897fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d966fb",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 286.309,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.22962,
    "h": 317.8
  },
  "luminance": 0.31219
}

Semantic roles & 50–950 ramp

primary
#D966FB
secondary
#D3F4C9
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D966FB

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

Preview Lab → · Contrast checker → · Palette generator →

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