#D962F6#D962F6

#D962F6 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.9% C 0.231 H 319.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D962F6
RGBrgb(217, 98, 246)
HSLhsl(288, 89%, 67%)
HSVhsv(288, 60%, 96%)
CMYKcmyk(11.8%, 60.2%, 0%, 3.5%)
CIE-LABlab(61.78, 67.34, -53.86)
CIE-LCHlch(61.78, 86.23, 321.35°)
OKLaboklab(69.93% 0.1748 -0.1503)
OKLCHoklch(69.93% 0.231 319.3)
XYZxyz(49.6154, 30.1431, 90.3756)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962F6 #7FF662
analogous
#8F62F6 #D962F6 #F662C9
triadic
#D962F6 #F6D962 #62F6D9
tetradic
#D962F6 #F68F62 #7FF662 #62C9F6
square
#D962F6 #F68F62 #7FF662 #62C9F6
split-complementary
#D962F6 #C9F662 #62F68F
monochromatic
#AB0CD2 #CB28F3 #D962F6 #E79CF9 #F5D6FD

Accessibility & contrast

On white

2.99
#D962F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D962F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962F6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962F6#FFFFFF#000000##000000
##D962F61.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DFB
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#D97AA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d962f6;
/* rgb */ color: rgb(217, 98, 246);
/* oklch */ color: oklch(69.9% 0.231 319.3);
Tailwind
colors: {
  custom: {
    50: '#e895fa',
    500: '#d962f6',
    950: '#000000',
  },
}
SCSS
$custom: #d962f6;
$custom-light: #e895fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d962f6",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 288.243,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69931,
    "c": 0.23053,
    "h": 319.3
  },
  "luminance": 0.30141
}

Semantic roles & 50–950 ramp

primary
#D962F6
secondary
#CCF1C3
accent
#E6002D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962F6

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

Preview Lab → · Contrast checker → · Palette generator →

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