#D962F7#D962F7

#D962F7 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.0% C 0.231 H 319.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D962F7
RGBrgb(217, 98, 247)
HSLhsl(288, 90%, 68%)
HSVhsv(288, 60%, 97%)
CMYKcmyk(12.1%, 60.3%, 0%, 3.1%)
CIE-LABlab(61.83, 67.53, -54.33)
CIE-LCHlch(61.83, 86.67, 321.18°)
OKLaboklab(69.99% 0.1748 -0.1516)
OKLCHoklch(69.99% 0.231 319.1)
XYZxyz(49.7693, 30.2046, 91.1861)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962F7 #80F762
analogous
#8E62F7 #D962F7 #F762CB
triadic
#D962F7 #F7D962 #62F7D9
tetradic
#D962F7 #F78E62 #80F762 #62CBF7
square
#D962F7 #F78E62 #80F762 #62CBF7
split-complementary
#D962F7 #CBF762 #62F78E
monochromatic
#AB0BD4 #CB28F4 #D962F7 #E79CFA #F5D6FD

Accessibility & contrast

On white

2.98
#D962F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D962F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D962F7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962F7#FFFFFF#000000##000000
##D962F71.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFC
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#D97BA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d962f7;
/* rgb */ color: rgb(217, 98, 247);
/* oklch */ color: oklch(70.0% 0.231 319.1);
Tailwind
colors: {
  custom: {
    50: '#e895fa',
    500: '#d962f7',
    950: '#000000',
  },
}
SCSS
$custom: #d962f7;
$custom-light: #e895fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d962f7",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 287.919,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.23144,
    "h": 319.1
  },
  "luminance": 0.30202
}

Semantic roles & 50–950 ramp

primary
#D962F7
secondary
#CDF2C3
accent
#E6002E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D962F7

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

Preview Lab → · Contrast checker → · Palette generator →

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