#D962DC#D962DC

#D962DC is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.6% C 0.207 H 326.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#D962DC
RGBrgb(217, 98, 220)
HSLhsl(299, 64%, 62%)
HSVhsv(299, 55%, 86%)
CMYKcmyk(1.4%, 55.5%, 0%, 13.7%)
CIE-LABlab(60.48, 62.63, -41.42)
CIE-LCHlch(60.48, 75.09, 326.52°)
OKLaboklab(68.56% 0.1731 -0.1142)
OKLCHoklch(68.56% 0.207 326.6)
XYZxyz(45.9004, 28.6571, 70.8100)
Luminance0.2865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962DC #65DC62
analogous
#9C62DC #D962DC #DC62A2
triadic
#D962DC #DCD962 #62DCD9
tetradic
#D962DC #DC9C62 #65DC62 #62A2DC
square
#D962DC #DC9C62 #65DC62 #62A2DC
split-complementary
#D962DC #A2DC62 #62DC9C
monochromatic
#9D24A0 #CD30D1 #D962DC #E594E7 #F1C6F2

Accessibility & contrast

On white

3.12
#D962DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D962DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962DC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962DC#FFFFFF#000000##000000
##D962DC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#7B97D9
Tritanopia (blue-blind)
#DE7196
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d962dc;
/* rgb */ color: rgb(217, 98, 220);
/* oklch */ color: oklch(68.6% 0.207 326.6);
Tailwind
colors: {
  custom: {
    50: '#e794e7',
    500: '#d962dc',
    950: '#000000',
  },
}
SCSS
$custom: #d962dc;
$custom-light: #e794e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d962dc",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 298.525,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68561,
    "c": 0.2074,
    "h": 326.6
  },
  "luminance": 0.28654
}

Semantic roles & 50–950 ramp

primary
#D962DC
secondary
#B8E3B7
accent
#CB1A1F
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D962DC

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

Preview Lab → · Contrast checker → · Palette generator →

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