#D962DF#D962DF

#D962DF is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.7% C 0.210 H 325.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D962DF
RGBrgb(217, 98, 223)
HSLhsl(297, 66%, 63%)
HSVhsv(297, 56%, 87%)
CMYKcmyk(2.7%, 56.1%, 0%, 12.5%)
CIE-LABlab(60.62, 63.16, -42.88)
CIE-LCHlch(60.62, 76.34, 325.83°)
OKLaboklab(68.71% 0.1734 -0.1184)
OKLCHoklch(68.71% 0.21 325.7)
XYZxyz(46.3012, 28.8174, 72.9212)
Luminance0.2882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962DF #68DF62
analogous
#9A62DF #D962DF #DF62A6
triadic
#D962DF #DFD962 #62DFD9
tetradic
#D962DF #DF9A62 #68DF62 #62A6DF
square
#D962DF #DF9A62 #68DF62 #62A6DF
split-complementary
#D962DF #A6DF62 #62DF9A
monochromatic
#9F22A5 #CD2FD5 #D962DF #E595E9 #F2C8F4

Accessibility & contrast

On white

3.11
#D962DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#D962DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962DF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962DF#FFFFFF#000000##000000
##D962DF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E3
Deuteranopia (green-blind)
#7997DB
Tritanopia (blue-blind)
#DE7298
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d962df;
/* rgb */ color: rgb(217, 98, 223);
/* oklch */ color: oklch(68.7% 0.210 325.7);
Tailwind
colors: {
  custom: {
    50: '#e894e9',
    500: '#d962df',
    950: '#000000',
  },
}
SCSS
$custom: #d962df;
$custom-light: #e894e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d962df",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 297.12,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68712,
    "c": 0.21,
    "h": 325.7
  },
  "luminance": 0.28815
}

Semantic roles & 50–950 ramp

primary
#D962DF
secondary
#BAE5B8
accent
#CE1720
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D962DF

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

Preview Lab → · Contrast checker → · Palette generator →

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