#D966F2#D966F2

#D966F2 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.221 H 320.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D966F2
RGBrgb(217, 102, 242)
HSLhsl(289, 84%, 67%)
HSVhsv(289, 58%, 95%)
CMYKcmyk(10.3%, 57.9%, 0%, 5.1%)
CIE-LABlab(62.23, 64.80, -50.93)
CIE-LCHlch(62.23, 82.42, 321.83°)
OKLaboklab(70.19% 0.1699 -0.1418)
OKLCHoklch(70.19% 0.221 320.2)
XYZxyz(49.3917, 30.6675, 87.3049)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966F2 #7FF266
analogous
#9366F2 #D966F2 #F266C5
triadic
#D966F2 #F2D966 #66F2D9
tetradic
#D966F2 #F29366 #7FF266 #66C5F2
square
#D966F2 #F29366 #7FF266 #66C5F2
split-complementary
#D966F2 #C5F266 #66F293
monochromatic
#AB11CC #CB2EED #D966F2 #E79EF7 #F5D7FC

Accessibility & contrast

On white

2.94
#D966F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D966F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966F2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966F2#FFFFFF#000000##000000
##D966F21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#DA7CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d966f2;
/* rgb */ color: rgb(217, 102, 242);
/* oklch */ color: oklch(70.2% 0.221 320.2);
Tailwind
colors: {
  custom: {
    50: '#e897f7',
    500: '#d966f2',
    950: '#000000',
  },
}
SCSS
$custom: #d966f2;
$custom-light: #e897f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d966f2",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 289.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.22128,
    "h": 320.2
  },
  "luminance": 0.30665
}

Semantic roles & 50–950 ramp

primary
#D966F2
secondary
#CCF0C4
accent
#E1052C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D966F2

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

Preview Lab → · Contrast checker → · Palette generator →

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