#D962EE#D962EE

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

Color values

HEX#D962EE
RGBrgb(217, 98, 238)
HSLhsl(291, 80%, 66%)
HSVhsv(291, 59%, 93%)
CMYKcmyk(8.8%, 58.8%, 0%, 6.7%)
CIE-LABlab(61.36, 65.86, -50.08)
CIE-LCHlch(61.36, 82.74, 322.75°)
OKLaboklab(69.49% 0.1745 -0.1393)
OKLCHoklch(69.49% 0.223 321.4)
XYZxyz(48.4138, 29.6625, 84.0476)
Luminance0.2966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962EE #77EE62
analogous
#9362EE #D962EE #EE62BD
triadic
#D962EE #EED962 #62EED9
tetradic
#D962EE #EE9362 #77EE62 #62BDEE
square
#D962EE #EE9362 #77EE62 #62BDEE
split-complementary
#D962EE #BDEE62 #62EE93
monochromatic
#A715C1 #CC2BE8 #D962EE #E699F4 #F4D0FA

Accessibility & contrast

On white

3.03
#D962EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D962EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962EE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962EE#FFFFFF#000000##000000
##D962EE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF2
Deuteranopia (green-blind)
#7199EA
Tritanopia (blue-blind)
#DB779F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d962ee;
/* rgb */ color: rgb(217, 98, 238);
/* oklch */ color: oklch(69.5% 0.223 321.4);
Tailwind
colors: {
  custom: {
    50: '#e895f4',
    500: '#d962ee',
    950: '#000000',
  },
}
SCSS
$custom: #d962ee;
$custom-light: #e895f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d962ee",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 291,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69494,
    "c": 0.22329,
    "h": 321.4
  },
  "luminance": 0.2966
}

Semantic roles & 50–950 ramp

primary
#D962EE
secondary
#C6EDBF
accent
#DD0929
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962EE

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

Preview Lab → · Contrast checker → · Palette generator →

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