#D962EF#D962EF

#D962EF is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.5% C 0.224 H 321.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D962EF
RGBrgb(217, 98, 239)
HSLhsl(291, 82%, 66%)
HSVhsv(291, 59%, 94%)
CMYKcmyk(9.2%, 59%, 0%, 6.3%)
CIE-LABlab(61.41, 66.04, -50.56)
CIE-LCHlch(61.41, 83.17, 322.56°)
OKLaboklab(69.55% 0.1746 -0.1407)
OKLCHoklch(69.55% 0.224 321.1)
XYZxyz(48.5612, 29.7214, 84.8235)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962EF #78EF62
analogous
#9262EF #D962EF #EF62BE
triadic
#D962EF #EFD962 #62EFD9
tetradic
#D962EF #EF9262 #78EF62 #62BEEF
square
#D962EF #EF9262 #78EF62 #62BEEF
split-complementary
#D962EF #BEEF62 #62EF92
monochromatic
#A714C3 #CC2AE9 #D962EF #E69AF5 #F4D1FA

Accessibility & contrast

On white

3.02
#D962EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D962EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962EF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962EF#FFFFFF#000000##000000
##D962EF1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#7099EB
Tritanopia (blue-blind)
#DB78A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d962ef;
/* rgb */ color: rgb(217, 98, 239);
/* oklch */ color: oklch(69.5% 0.224 321.1);
Tailwind
colors: {
  custom: {
    50: '#e895f5',
    500: '#d962ef',
    950: '#000000',
  },
}
SCSS
$custom: #d962ef;
$custom-light: #e895f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d962ef",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 290.638,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69548,
    "c": 0.22419,
    "h": 321.1
  },
  "luminance": 0.29719
}

Semantic roles & 50–950 ramp

primary
#D962EF
secondary
#C6EEBF
accent
#DE0829
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962EF

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

Preview Lab → · Contrast checker → · Palette generator →

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