#D962CC#D962CC

#D962CC is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.8% C 0.194 H 331.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D962CC
RGBrgb(217, 98, 204)
HSLhsl(307, 61%, 62%)
HSVhsv(307, 55%, 85%)
CMYKcmyk(0%, 54.8%, 6%, 14.9%)
CIE-LABlab(59.75, 59.92, -33.52)
CIE-LCHlch(59.75, 68.66, 330.78°)
OKLaboklab(67.79% 0.1711 -0.0915)
OKLCHoklch(67.79% 0.194 331.8)
XYZxyz(43.8819, 27.8497, 60.1793)
Luminance0.2785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962CC #62D96F
analogous
#AB62D9 #D962CC #D96291
triadic
#D962CC #CCD962 #62CCD9
tetradic
#D962CC #D9AB62 #62D96F #6291D9
square
#D962CC #D9AB62 #62D96F #6291D9
split-complementary
#D962CC #91D962 #62D9AB
monochromatic
#9B268E #CC31BB #D962CC #E593DC #F1C5EC

Accessibility & contrast

On white

3.20
#D962CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D962CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962CC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962CC#FFFFFF#000000##000000
##D962CC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#E16B8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d962cc;
/* rgb */ color: rgb(217, 98, 204);
/* oklch */ color: oklch(67.8% 0.194 331.8);
Tailwind
colors: {
  custom: {
    50: '#e794dc',
    500: '#d962cc',
    950: '#000000',
  },
}
SCSS
$custom: #d962cc;
$custom-light: #e794dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d962cc",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 306.555,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67792,
    "c": 0.19401,
    "h": 331.8
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

primary
#D962CC
secondary
#B5E1BA
accent
#C9301D
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D962CC

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

Preview Lab → · Contrast checker → · Palette generator →

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