#D962EC#D962EC

#D962EC is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.221 H 321.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D962EC
RGBrgb(217, 98, 236)
HSLhsl(292, 78%, 65%)
HSVhsv(292, 58%, 93%)
CMYKcmyk(8.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(61.26, 65.49, -49.13)
CIE-LCHlch(61.26, 81.87, 323.12°)
OKLaboklab(69.39% 0.1744 -0.1365)
OKLCHoklch(69.39% 0.221 321.9)
XYZxyz(48.1217, 29.5456, 82.5087)
Luminance0.2954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962EC #75EC62
analogous
#9462EC #D962EC #EC62BA
triadic
#D962EC #ECD962 #62ECD9
tetradic
#D962EC #EC9462 #75EC62 #62BAEC
square
#D962EC #EC9462 #75EC62 #62BAEC
split-complementary
#D962EC #BAEC62 #62EC94
monochromatic
#A617BD #CC2BE5 #D962EC #E699F3 #F3CFF9

Accessibility & contrast

On white

3.04
#D962EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#D962EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962EC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962EC#FFFFFF#000000##000000
##D962EC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#DB779E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d962ec;
/* rgb */ color: rgb(217, 98, 236);
/* oklch */ color: oklch(69.4% 0.221 321.9);
Tailwind
colors: {
  custom: {
    50: '#e895f3',
    500: '#d962ec',
    950: '#000000',
  },
}
SCSS
$custom: #d962ec;
$custom-light: #e895f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d962ec",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 291.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69387,
    "c": 0.22149,
    "h": 321.9
  },
  "luminance": 0.29543
}

Semantic roles & 50–950 ramp

primary
#D962EC
secondary
#C4ECBE
accent
#DB0B27
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962EC

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

Preview Lab → · Contrast checker → · Palette generator →

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