#D962FD#D962FD

#D962FD is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.3% C 0.237 H 317.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#D962FD
RGBrgb(217, 98, 253)
HSLhsl(286, 97%, 69%)
HSVhsv(286, 61%, 99%)
CMYKcmyk(14.2%, 61.3%, 0%, 0.8%)
CIE-LABlab(62.15, 68.67, -57.13)
CIE-LCHlch(62.15, 89.32, 320.24°)
OKLaboklab(70.32% 0.1749 -0.1598)
OKLCHoklch(70.32% 0.237 317.6)
XYZxyz(50.7101, 30.5809, 96.1410)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962FD #86FD62
analogous
#8C62FD #D962FD #FD62D3
triadic
#D962FD #FDD962 #62FDD9
tetradic
#D962FD #FD8C62 #86FD62 #62D3FD
square
#D962FD #FD8C62 #86FD62 #62D3FD
split-complementary
#D962FD #D3FD62 #62FD8C
monochromatic
#AE03E2 #CA26FC #D962FD #E89EFE #F6DBFF

Accessibility & contrast

On white

2.95
#D962FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#D962FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962FD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962FD#FFFFFF#000000##000000
##D962FD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#D87DA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d962fd;
/* rgb */ color: rgb(217, 98, 253);
/* oklch */ color: oklch(70.3% 0.237 317.6);
Tailwind
colors: {
  custom: {
    50: '#e895ff',
    500: '#d962fd',
    950: '#000000',
  },
}
SCSS
$custom: #d962fd;
$custom-light: #e895ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d962fd",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 286.065,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70323,
    "c": 0.23695,
    "h": 317.6
  },
  "luminance": 0.30579
}

Semantic roles & 50–950 ramp

primary
#D962FD
secondary
#D1F4C6
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D962FD

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

Preview Lab → · Contrast checker → · Palette generator →

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