#D962CB#D962CB

#D962CB is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.7% C 0.193 H 332.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#D962CB
RGBrgb(217, 98, 203)
HSLhsl(307, 61%, 62%)
HSVhsv(307, 55%, 85%)
CMYKcmyk(0%, 54.8%, 6.5%, 14.9%)
CIE-LABlab(59.71, 59.76, -33.02)
CIE-LCHlch(59.71, 68.28, 331.07°)
OKLaboklab(67.75% 0.1709 -0.0901)
OKLCHoklch(67.75% 0.193 332.2)
XYZxyz(43.7623, 27.8019, 59.5497)
Luminance0.2780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962CB #62D970
analogous
#AC62D9 #D962CB #D96290
triadic
#D962CB #CBD962 #62CBD9
tetradic
#D962CB #D9AC62 #62D970 #6290D9
square
#D962CB #D9AC62 #62D970 #6290D9
split-complementary
#D962CB #90D962 #62D9AC
monochromatic
#9B268D #CC31BA #D962CB #E593DB #F1C5EC

Accessibility & contrast

On white

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

On black

6.56
#D962CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962CB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962CB#FFFFFF#000000##000000
##D962CB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d962cb;
/* rgb */ color: rgb(217, 98, 203);
/* oklch */ color: oklch(67.7% 0.193 332.2);
Tailwind
colors: {
  custom: {
    50: '#e794db',
    500: '#d962cb',
    950: '#000000',
  },
}
SCSS
$custom: #d962cb;
$custom-light: #e794db;
$custom-dark: #000000;
JSON
{
  "hex": "#d962cb",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 307.059,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67746,
    "c": 0.1932,
    "h": 332.2
  },
  "luminance": 0.27799
}

Semantic roles & 50–950 ramp

primary
#D962CB
secondary
#B5E1BB
accent
#C9311D
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D962CB

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

Preview Lab → · Contrast checker → · Palette generator →

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