#D962F0#D962F0

#D962F0 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.6% C 0.225 H 320.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#D962F0
RGBrgb(217, 98, 240)
HSLhsl(290, 83%, 66%)
HSVhsv(290, 59%, 94%)
CMYKcmyk(9.6%, 59.2%, 0%, 5.9%)
CIE-LABlab(61.46, 66.23, -51.03)
CIE-LCHlch(61.46, 83.61, 322.38°)
OKLaboklab(69.6% 0.1746 -0.142)
OKLCHoklch(69.6% 0.225 320.9)
XYZxyz(48.7093, 29.7806, 85.6037)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962F0 #79F062
analogous
#9262F0 #D962F0 #F062C0
triadic
#D962F0 #F0D962 #62F0D9
tetradic
#D962F0 #F09262 #79F062 #62C0F0
square
#D962F0 #F09262 #79F062 #62C0F0
split-complementary
#D962F0 #C0F062 #62F092
monochromatic
#A813C5 #CB2AEB #D962F0 #E79AF5 #F4D2FB

Accessibility & contrast

On white

3.02
#D962F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#D962F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962F0
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962F0#FFFFFF#000000##000000
##D962F01.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF4
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#DB78A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d962f0;
/* rgb */ color: rgb(217, 98, 240);
/* oklch */ color: oklch(69.6% 0.225 320.9);
Tailwind
colors: {
  custom: {
    50: '#e895f5',
    500: '#d962f0',
    950: '#000000',
  },
}
SCSS
$custom: #d962f0;
$custom-light: #e895f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d962f0",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 290.282,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69602,
    "c": 0.22509,
    "h": 320.9
  },
  "luminance": 0.29778
}

Semantic roles & 50–950 ramp

primary
#D962F0
secondary
#C7EEC0
accent
#DF072A
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962F0

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

Preview Lab → · Contrast checker → · Palette generator →

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