#D962F9#D962F9

#D962F9 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.233 H 318.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D962F9
RGBrgb(217, 98, 249)
HSLhsl(287, 93%, 68%)
HSVhsv(287, 61%, 98%)
CMYKcmyk(12.9%, 60.6%, 0%, 2.4%)
CIE-LABlab(61.94, 67.91, -55.26)
CIE-LCHlch(61.94, 87.55, 320.86°)
OKLaboklab(70.1% 0.1749 -0.1544)
OKLCHoklch(70.1% 0.233 318.6)
XYZxyz(50.0795, 30.3287, 92.8202)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962F9 #82F962
analogous
#8D62F9 #D962F9 #F962CD
triadic
#D962F9 #F9D962 #62F9D9
tetradic
#D962F9 #F98D62 #82F962 #62CDF9
square
#D962F9 #F98D62 #82F962 #62CDF9
split-complementary
#D962F9 #CDF962 #62F98D
monochromatic
#AC08D8 #CB27F7 #D962F9 #E79DFB #F6D8FE

Accessibility & contrast

On white

2.97
#D962F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D962F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962F9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962F9#FFFFFF#000000##000000
##D962F91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFE
Deuteranopia (green-blind)
#6A9AF5
Tritanopia (blue-blind)
#D97BA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d962f9;
/* rgb */ color: rgb(217, 98, 249);
/* oklch */ color: oklch(70.1% 0.233 318.6);
Tailwind
colors: {
  custom: {
    50: '#e895fc',
    500: '#d962f9',
    950: '#000000',
  },
}
SCSS
$custom: #d962f9;
$custom-light: #e895fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d962f9",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 287.285,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70098,
    "c": 0.23327,
    "h": 318.6
  },
  "luminance": 0.30327
}

Semantic roles & 50–950 ramp

primary
#D962F9
secondary
#CEF2C4
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962F9

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

Preview Lab → · Contrast checker → · Palette generator →

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