#D962E1#D962E1

#D962E1 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.8% C 0.212 H 325.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#D962E1
RGBrgb(217, 98, 225)
HSLhsl(296, 68%, 63%)
HSVhsv(296, 56%, 88%)
CMYKcmyk(3.6%, 56.4%, 0%, 11.8%)
CIE-LABlab(60.72, 63.51, -43.85)
CIE-LCHlch(60.72, 77.18, 325.38°)
OKLaboklab(68.81% 0.1736 -0.1212)
OKLCHoklch(68.81% 0.212 325.1)
XYZxyz(46.5725, 28.9259, 74.3497)
Luminance0.2892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962E1 #6AE162
analogous
#9962E1 #D962E1 #E162AA
triadic
#D962E1 #E1D962 #62E1D9
tetradic
#D962E1 #E19962 #6AE162 #62AAE1
square
#D962E1 #E19962 #6AE162 #62AAE1
split-complementary
#D962E1 #AAE162 #62E199
monochromatic
#A020A8 #CD2FD7 #D962E1 #E595EB #F2C9F5

Accessibility & contrast

On white

3.10
#D962E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#D962E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962E1
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962E1#FFFFFF#000000##000000
##D962E11.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#7898DD
Tritanopia (blue-blind)
#DE7399
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d962e1;
/* rgb */ color: rgb(217, 98, 225);
/* oklch */ color: oklch(68.8% 0.212 325.1);
Tailwind
colors: {
  custom: {
    50: '#e895eb',
    500: '#d962e1',
    950: '#000000',
  },
}
SCSS
$custom: #d962e1;
$custom-light: #e895eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d962e1",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 296.22,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.21174,
    "h": 325.1
  },
  "luminance": 0.28923
}

Semantic roles & 50–950 ramp

primary
#D962E1
secondary
#BCE6B9
accent
#D01621
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D962E1

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

Preview Lab → · Contrast checker → · Palette generator →

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