#D966EC#D966EC

#D966EC is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.9% C 0.216 H 321.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D966EC
RGBrgb(217, 102, 236)
HSLhsl(291, 78%, 66%)
HSVhsv(291, 57%, 93%)
CMYKcmyk(8.1%, 56.8%, 0%, 7.5%)
CIE-LABlab(61.92, 63.69, -48.08)
CIE-LCHlch(61.92, 79.80, 322.95°)
OKLaboklab(69.87% 0.1695 -0.1335)
OKLCHoklch(69.87% 0.216 321.8)
XYZxyz(48.5053, 30.3129, 82.6366)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966EC #79EC66
analogous
#9666EC #D966EC #EC66BC
triadic
#D966EC #ECD966 #66ECD9
tetradic
#D966EC #EC9666 #79EC66 #66BCEC
square
#D966EC #EC9666 #79EC66 #66BCEC
split-complementary
#D966EC #BCEC66 #66EC96
monochromatic
#A818C0 #CB30E5 #D966EC #E79CF3 #F4D3FA

Accessibility & contrast

On white

2.97
#D966EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D966EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966EC#FFFFFF#000000##000000
##D966EC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#759AE8
Tritanopia (blue-blind)
#DB7AA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d966ec;
/* rgb */ color: rgb(217, 102, 236);
/* oklch */ color: oklch(69.9% 0.216 321.8);
Tailwind
colors: {
  custom: {
    50: '#e897f2',
    500: '#d966ec',
    950: '#000000',
  },
}
SCSS
$custom: #d966ec;
$custom-light: #e897f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d966ec",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 291.493,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69871,
    "c": 0.21577,
    "h": 321.8
  },
  "luminance": 0.30311
}

Semantic roles & 50–950 ramp

primary
#D966EC
secondary
#C7EDC1
accent
#DA0B29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D966EC

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

Preview Lab → · Contrast checker → · Palette generator →

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