#D962FB#D962FB

#D962FB is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.2% C 0.235 H 318.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D962FB
RGBrgb(217, 98, 251)
HSLhsl(287, 95%, 68%)
HSVhsv(287, 61%, 98%)
CMYKcmyk(13.5%, 61%, 0%, 1.6%)
CIE-LABlab(62.04, 68.29, -56.20)
CIE-LCHlch(62.04, 88.44, 320.55°)
OKLaboklab(70.21% 0.1749 -0.1571)
OKLCHoklch(70.21% 0.235 318.1)
XYZxyz(50.3931, 30.4542, 94.4719)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962FB #84FB62
analogous
#8C62FB #D962FB #FB62D0
triadic
#D962FB #FBD962 #62FBD9
tetradic
#D962FB #FB8C62 #84FB62 #62D0FB
square
#D962FB #FB8C62 #84FB62 #62D0FB
split-complementary
#D962FB #D0FB62 #62FB8C
monochromatic
#AD06DD #CB26F9 #D962FB #E79EFD #F6D9FE

Accessibility & contrast

On white

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

On black

7.09
#D962FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962FB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962FB#FFFFFF#000000##000000
##D962FB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#D87CA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d962fb;
/* rgb */ color: rgb(217, 98, 251);
/* oklch */ color: oklch(70.2% 0.235 318.1);
Tailwind
colors: {
  custom: {
    50: '#e895fd',
    500: '#d962fb',
    950: '#000000',
  },
}
SCSS
$custom: #d962fb;
$custom-light: #e895fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d962fb",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 286.667,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7021,
    "c": 0.2351,
    "h": 318.1
  },
  "luminance": 0.30452
}

Semantic roles & 50–950 ramp

primary
#D962FB
secondary
#D0F3C5
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D962FB

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

Preview Lab → · Contrast checker → · Palette generator →

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