#D962E7#D962E7

#D962E7 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.1% C 0.217 H 323.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D962E7
RGBrgb(217, 98, 231)
HSLhsl(294, 73%, 65%)
HSVhsv(294, 58%, 91%)
CMYKcmyk(6.1%, 57.6%, 0%, 9.4%)
CIE-LABlab(61.01, 64.58, -46.74)
CIE-LCHlch(61.01, 79.72, 324.11°)
OKLaboklab(69.12% 0.1741 -0.1296)
OKLCHoklch(69.12% 0.217 323.3)
XYZxyz(47.4054, 29.2591, 78.7364)
Luminance0.2926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962E7 #70E762
analogous
#9762E7 #D962E7 #E762B3
triadic
#D962E7 #E7D962 #62E7D9
tetradic
#D962E7 #E79762 #70E762 #62B3E7
square
#D962E7 #E79762 #70E762 #62B3E7
split-complementary
#D962E7 #B3E762 #62E797
monochromatic
#A31BB3 #CC2DDF #D962E7 #E697EF #F3CCF7

Accessibility & contrast

On white

3.07
#D962E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#D962E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962E7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962E7#FFFFFF#000000##000000
##D962E71.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEB
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#DC759C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d962e7;
/* rgb */ color: rgb(217, 98, 231);
/* oklch */ color: oklch(69.1% 0.217 323.3);
Tailwind
colors: {
  custom: {
    50: '#e895ef',
    500: '#d962e7',
    950: '#000000',
  },
}
SCSS
$custom: #d962e7;
$custom-light: #e895ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d962e7",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 293.684,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69123,
    "c": 0.21704,
    "h": 323.3
  },
  "luminance": 0.29257
}

Semantic roles & 50–950 ramp

primary
#D962E7
secondary
#C0E9BB
accent
#D61025
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D962E7

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

Preview Lab → · Contrast checker → · Palette generator →

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