#D962FF#D962FF

#D962FF is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.4% C 0.239 H 317.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D962FF
RGBrgb(217, 98, 255)
HSLhsl(285, 100%, 69%)
HSVhsv(285, 62%, 100%)
CMYKcmyk(14.9%, 61.6%, 0%, 0%)
CIE-LABlab(62.26, 69.05, -58.05)
CIE-LCHlch(62.26, 90.21, 319.94°)
OKLaboklab(70.44% 0.1749 -0.1625)
OKLCHoklch(70.44% 0.239 317.1)
XYZxyz(51.0303, 30.7091, 97.8277)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962FF #88FF62
analogous
#8B62FF #D962FF #FF62D6
triadic
#D962FF #FFD962 #62FFD9
tetradic
#D962FF #FF8B62 #88FF62 #62D6FF
square
#D962FF #FF8B62 #88FF62 #62D6FF
split-complementary
#D962FF #D6FF62 #62FF8B
monochromatic
#AF00E7 #CA25FF #D962FF #E89FFF #F7DCFF

Accessibility & contrast

On white

2.94
#D962FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D962FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962FF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962FF#FFFFFF#000000##000000
##D962FF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#308FFF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#D77EA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d962ff;
/* rgb */ color: rgb(217, 98, 255);
/* oklch */ color: oklch(70.4% 0.239 317.1);
Tailwind
colors: {
  custom: {
    50: '#e895ff',
    500: '#d962ff',
    950: '#000000',
  },
}
SCSS
$custom: #d962ff;
$custom-light: #e895ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d962ff",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 285.478,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.23878,
    "h": 317.1
  },
  "luminance": 0.30707
}

Semantic roles & 50–950 ramp

primary
#D962FF
secondary
#D3F5C8
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D962FF

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

Preview Lab → · Contrast checker → · Palette generator →

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