#D954CC#D954CC

#D954CC is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.2% C 0.214 H 331.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D954CC
RGBrgb(217, 84, 204)
HSLhsl(306, 64%, 59%)
HSVhsv(306, 61%, 85%)
CMYKcmyk(0%, 61.3%, 6%, 14.9%)
CIE-LABlab(57.52, 66.02, -37.02)
CIE-LCHlch(57.52, 75.69, 330.72°)
OKLaboklab(66.15% 0.1886 -0.1014)
OKLCHoklch(66.15% 0.214 331.7)
XYZxyz(42.6846, 25.4551, 59.7802)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954CC #54D961
analogous
#A454D9 #D954CC #D9548A
triadic
#D954CC #CCD954 #54CCD9
tetradic
#D954CC #D9A454 #54D961 #548AD9
square
#D954CC #D9A454 #54D961 #548AD9
split-complementary
#D954CC #8AD954 #54D9A4
monochromatic
#922087 #C42CB5 #D954CC #E486DB #EFB8EA

Accessibility & contrast

On white

3.45
#D954CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D954CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954CC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954CC#FFFFFF#000000##000000
##D954CC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ED0
Deuteranopia (green-blind)
#7A91C8
Tritanopia (blue-blind)
#E16088
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d954cc;
/* rgb */ color: rgb(217, 84, 204);
/* oklch */ color: oklch(66.2% 0.214 331.7);
Tailwind
colors: {
  custom: {
    50: '#e88cdc',
    500: '#d954cc',
    950: '#000000',
  },
}
SCSS
$custom: #d954cc;
$custom-light: #e88cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d954cc",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 305.865,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.21418,
    "h": 331.7
  },
  "luminance": 0.25452
}

Semantic roles & 50–950 ramp

primary
#D954CC
secondary
#AADFAF
accent
#E75141
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D954CC

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

Preview Lab → · Contrast checker → · Palette generator →

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