#D952FF#D952FF

#D952FF is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.7% C 0.259 H 317.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#D952FF
RGBrgb(217, 82, 255)
HSLhsl(287, 100%, 66%)
HSVhsv(287, 68%, 100%)
CMYKcmyk(14.9%, 67.8%, 0%, 0%)
CIE-LABlab(59.90, 75.62, -61.84)
CIE-LCHlch(59.90, 97.69, 320.73°)
OKLaboklab(68.74% 0.1921 -0.1735)
OKLCHoklch(68.74% 0.259 317.9)
XYZxyz(49.6800, 28.0085, 97.3776)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952FF #78FF52
analogous
#8252FF #D952FF #FF52CE
triadic
#D952FF #FFD952 #52FFD9
tetradic
#D952FF #FF8252 #78FF52 #52CEFF
square
#D952FF #FF8252 #78FF52 #52CEFF
split-complementary
#D952FF #CEFF52 #52FF82
monochromatic
#A700D7 #CC15FF #D952FF #E68FFF #F4CCFF

Accessibility & contrast

On white

3.18
#D952FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#D952FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952FF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952FF#FFFFFF#000000##000000
##D952FF1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5995FB
Tritanopia (blue-blind)
#D873A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d952ff;
/* rgb */ color: rgb(217, 82, 255);
/* oklch */ color: oklch(68.7% 0.259 317.9);
Tailwind
colors: {
  custom: {
    50: '#e98dff',
    500: '#d952ff',
    950: '#000000',
  },
}
SCSS
$custom: #d952ff;
$custom-light: #e98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d952ff",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 286.821,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68735,
    "c": 0.25885,
    "h": 317.9
  },
  "luminance": 0.28006
}

Semantic roles & 50–950 ramp

primary
#D952FF
secondary
#C6F3BA
accent
#E60032
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D952FF

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

Preview Lab → · Contrast checker → · Palette generator →

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