#D962E2#D962E2

#D962E2 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.9% C 0.213 H 324.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#D962E2
RGBrgb(217, 98, 226)
HSLhsl(296, 69%, 64%)
HSVhsv(296, 57%, 89%)
CMYKcmyk(4%, 56.6%, 0%, 11.4%)
CIE-LABlab(60.76, 63.69, -44.33)
CIE-LCHlch(60.76, 77.60, 325.16°)
OKLaboklab(68.86% 0.1737 -0.1226)
OKLCHoklch(68.86% 0.213 324.8)
XYZxyz(46.7093, 28.9806, 75.0703)
Luminance0.2898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962E2 #6BE262
analogous
#9962E2 #D962E2 #E262AB
triadic
#D962E2 #E2D962 #62E2D9
tetradic
#D962E2 #E29962 #6BE262 #62ABE2
square
#D962E2 #E29962 #6BE262 #62ABE2
split-complementary
#D962E2 #ABE262 #62E299
monochromatic
#A01FAA #CC2ED8 #D962E2 #E696EC #F2C9F5

Accessibility & contrast

On white

3.09
#D962E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#D962E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962E2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962E2#FFFFFF#000000##000000
##D962E21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#7898DE
Tritanopia (blue-blind)
#DD7399
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d962e2;
/* rgb */ color: rgb(217, 98, 226);
/* oklch */ color: oklch(68.9% 0.213 324.8);
Tailwind
colors: {
  custom: {
    50: '#e895eb',
    500: '#d962e2',
    950: '#000000',
  },
}
SCSS
$custom: #d962e2;
$custom-light: #e895eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d962e2",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 295.781,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68864,
    "c": 0.21262,
    "h": 324.8
  },
  "luminance": 0.28978
}

Semantic roles & 50–950 ramp

primary
#D962E2
secondary
#BCE7B9
accent
#D11522
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D962E2

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

Preview Lab → · Contrast checker → · Palette generator →

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