#D966F3#D966F3

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

Color values

HEX#D966F3
RGBrgb(217, 102, 243)
HSLhsl(289, 85%, 68%)
HSVhsv(289, 58%, 95%)
CMYKcmyk(10.7%, 58%, 0%, 4.7%)
CIE-LABlab(62.28, 64.99, -51.41)
CIE-LCHlch(62.28, 82.86, 321.66°)
OKLaboklab(70.24% 0.1699 -0.1432)
OKLCHoklch(70.24% 0.222 319.9)
XYZxyz(49.5423, 30.7277, 88.0981)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966F3 #80F366
analogous
#9266F3 #D966F3 #F366C7
triadic
#D966F3 #F3D966 #66F3D9
tetradic
#D966F3 #F39266 #80F366 #66C7F3
square
#D966F3 #F39266 #80F366 #66C7F3
split-complementary
#D966F3 #C7F366 #66F392
monochromatic
#AB10CE #CB2DEF #D966F3 #E79FF7 #F5D7FC

Accessibility & contrast

On white

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

On black

7.15
#D966F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966F3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966F3#FFFFFF#000000##000000
##D966F31.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468FF7
Deuteranopia (green-blind)
#719BEF
Tritanopia (blue-blind)
#DA7CA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d966f3;
/* rgb */ color: rgb(217, 102, 243);
/* oklch */ color: oklch(70.2% 0.222 319.9);
Tailwind
colors: {
  custom: {
    50: '#e897f7',
    500: '#d966f3',
    950: '#000000',
  },
}
SCSS
$custom: #d966f3;
$custom-light: #e897f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d966f3",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 288.936,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.2222,
    "h": 319.9
  },
  "luminance": 0.30726
}

Semantic roles & 50–950 ramp

primary
#D966F3
secondary
#CDF0C5
accent
#E2042D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D966F3

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

Preview Lab → · Contrast checker → · Palette generator →

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