#D962EB#D962EB

#D962EB is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.3% C 0.221 H 322.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#D962EB
RGBrgb(217, 98, 235)
HSLhsl(292, 77%, 65%)
HSVhsv(292, 58%, 92%)
CMYKcmyk(7.7%, 58.3%, 0%, 7.8%)
CIE-LABlab(61.21, 65.31, -48.65)
CIE-LCHlch(61.21, 81.44, 323.31°)
OKLaboklab(69.33% 0.1744 -0.1351)
OKLCHoklch(69.33% 0.221 322.2)
XYZxyz(47.9768, 29.4876, 81.7457)
Luminance0.2949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962EB #74EB62
analogous
#9562EB #D962EB #EB62B8
triadic
#D962EB #EBD962 #62EBD9
tetradic
#D962EB #EB9562 #74EB62 #62B8EB
square
#D962EB #EB9562 #74EB62 #62B8EB
split-complementary
#D962EB #B8EB62 #62EB95
monochromatic
#A518BB #CC2CE4 #D962EB #E698F2 #F3CFF9

Accessibility & contrast

On white

3.04
#D962EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#D962EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962EB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962EB#FFFFFF#000000##000000
##D962EB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#DC769E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d962eb;
/* rgb */ color: rgb(217, 98, 235);
/* oklch */ color: oklch(69.3% 0.221 322.2);
Tailwind
colors: {
  custom: {
    50: '#e895f2',
    500: '#d962eb',
    950: '#000000',
  },
}
SCSS
$custom: #d962eb;
$custom-light: #e895f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d962eb",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 292.117,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69334,
    "c": 0.22059,
    "h": 322.2
  },
  "luminance": 0.29485
}

Semantic roles & 50–950 ramp

primary
#D962EB
secondary
#C3EBBD
accent
#DA0C27
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962EB

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

Preview Lab → · Contrast checker → · Palette generator →

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