#D962F5#D962F5

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

Color values

HEX#D962F5
RGBrgb(217, 98, 245)
HSLhsl(289, 88%, 67%)
HSVhsv(289, 60%, 96%)
CMYKcmyk(11.4%, 60%, 0%, 3.9%)
CIE-LABlab(61.72, 67.15, -53.39)
CIE-LCHlch(61.72, 85.79, 321.51°)
OKLaboklab(69.88% 0.1748 -0.1489)
OKLCHoklch(69.88% 0.23 319.6)
XYZxyz(49.4623, 30.0818, 89.5695)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962F5 #7EF562
analogous
#8F62F5 #D962F5 #F562C8
triadic
#D962F5 #F5D962 #62F5D9
tetradic
#D962F5 #F58F62 #7EF562 #62C8F5
square
#D962F5 #F58F62 #7EF562 #62C8F5
split-complementary
#D962F5 #C8F562 #62F58F
monochromatic
#AA0DCF #CB28F1 #D962F5 #E79CF9 #F5D5FC

Accessibility & contrast

On white

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

On black

7.02
#D962F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962F5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962F5#FFFFFF#000000##000000
##D962F51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#DA7AA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d962f5;
/* rgb */ color: rgb(217, 98, 245);
/* oklch */ color: oklch(69.9% 0.230 319.6);
Tailwind
colors: {
  custom: {
    50: '#e895f9',
    500: '#d962f5',
    950: '#000000',
  },
}
SCSS
$custom: #d962f5;
$custom-light: #e895f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d962f5",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 288.571,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69875,
    "c": 0.22962,
    "h": 319.6
  },
  "luminance": 0.3008
}

Semantic roles & 50–950 ramp

primary
#D962F5
secondary
#CBF1C2
accent
#E5012C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962F5

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

Preview Lab → · Contrast checker → · Palette generator →

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