#D962FC#D962FC

#D962FC is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.3% C 0.236 H 317.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D962FC
RGBrgb(217, 98, 252)
HSLhsl(286, 96%, 69%)
HSVhsv(286, 61%, 99%)
CMYKcmyk(13.9%, 61.1%, 0%, 1.2%)
CIE-LABlab(62.10, 68.48, -56.66)
CIE-LCHlch(62.10, 88.88, 320.39°)
OKLaboklab(70.27% 0.1749 -0.1585)
OKLCHoklch(70.27% 0.236 317.8)
XYZxyz(50.5512, 30.5174, 95.3042)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962FC #85FC62
analogous
#8C62FC #D962FC #FC62D2
triadic
#D962FC #FCD962 #62FCD9
tetradic
#D962FC #FC8C62 #85FC62 #62D2FC
square
#D962FC #FC8C62 #85FC62 #62D2FC
split-complementary
#D962FC #D2FC62 #62FC8C
monochromatic
#AE04DF #CA26FB #D962FC #E89EFD #F6DAFE

Accessibility & contrast

On white

2.96
#D962FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#D962FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962FC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962FC#FFFFFF#000000##000000
##D962FC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#D87CA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d962fc;
/* rgb */ color: rgb(217, 98, 252);
/* oklch */ color: oklch(70.3% 0.236 317.8);
Tailwind
colors: {
  custom: {
    50: '#e895fe',
    500: '#d962fc',
    950: '#000000',
  },
}
SCSS
$custom: #d962fc;
$custom-light: #e895fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d962fc",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 286.364,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.23602,
    "h": 317.8
  },
  "luminance": 0.30515
}

Semantic roles & 50–950 ramp

primary
#D962FC
secondary
#D0F4C6
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D962FC

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

Preview Lab → · Contrast checker → · Palette generator →

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