#D962F1#D962F1

#D962F1 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.7% C 0.226 H 320.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D962F1
RGBrgb(217, 98, 241)
HSLhsl(290, 84%, 66%)
HSVhsv(290, 59%, 95%)
CMYKcmyk(10%, 59.3%, 0%, 5.5%)
CIE-LABlab(61.52, 66.41, -51.50)
CIE-LCHlch(61.52, 84.04, 322.21°)
OKLaboklab(69.66% 0.1747 -0.1434)
OKLCHoklch(69.66% 0.226 320.6)
XYZxyz(48.8583, 29.8402, 86.3882)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962F1 #7AF162
analogous
#9262F1 #D962F1 #F162C2
triadic
#D962F1 #F1D962 #62F1D9
tetradic
#D962F1 #F19262 #7AF162 #62C2F1
square
#D962F1 #F19262 #7AF162 #62C2F1
split-complementary
#D962F1 #C2F162 #62F192
monochromatic
#A812C7 #CB2AEC #D962F1 #E79AF6 #F4D2FB

Accessibility & contrast

On white

3.01
#D962F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#D962F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962F1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962F1#FFFFFF#000000##000000
##D962F11.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#428CF5
Deuteranopia (green-blind)
#6F99ED
Tritanopia (blue-blind)
#DA78A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d962f1;
/* rgb */ color: rgb(217, 98, 241);
/* oklch */ color: oklch(69.7% 0.226 320.6);
Tailwind
colors: {
  custom: {
    50: '#e895f6',
    500: '#d962f1',
    950: '#000000',
  },
}
SCSS
$custom: #d962f1;
$custom-light: #e895f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d962f1",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 289.93,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69656,
    "c": 0.22599,
    "h": 320.6
  },
  "luminance": 0.29838
}

Semantic roles & 50–950 ramp

primary
#D962F1
secondary
#C8EFC0
accent
#E0052A
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962F1

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

Preview Lab → · Contrast checker → · Palette generator →

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