#D954D5#D954D5

#D954D5 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.221 H 328.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D954D5
RGBrgb(217, 84, 213)
HSLhsl(302, 64%, 59%)
HSVhsv(302, 61%, 85%)
CMYKcmyk(0%, 61.3%, 1.8%, 14.9%)
CIE-LABlab(57.94, 67.48, -41.46)
CIE-LCHlch(57.94, 79.20, 328.43°)
OKLaboklab(66.6% 0.1895 -0.1142)
OKLCHoklch(66.6% 0.221 328.9)
XYZxyz(43.7954, 25.8994, 65.6303)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954D5 #54D958
analogous
#9B54D9 #D954D5 #D95492
triadic
#D954D5 #D5D954 #54D5D9
tetradic
#D954D5 #D99B54 #54D958 #5492D9
square
#D954D5 #D99B54 #54D958 #5492D9
split-complementary
#D954D5 #92D954 #54D99B
monochromatic
#92208F #C42CC0 #D954D5 #E486E1 #EFB8EE

Accessibility & contrast

On white

3.40
#D954D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D954D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954D5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954D5#FFFFFF#000000##000000
##D954D51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4780D9
Deuteranopia (green-blind)
#7592D1
Tritanopia (blue-blind)
#E0648D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d954d5;
/* rgb */ color: rgb(217, 84, 213);
/* oklch */ color: oklch(66.6% 0.221 328.9);
Tailwind
colors: {
  custom: {
    50: '#e88ce2',
    500: '#d954d5',
    950: '#000000',
  },
}
SCSS
$custom: #d954d5;
$custom-light: #e88ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#d954d5",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 301.805,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66602,
    "c": 0.22126,
    "h": 328.9
  },
  "luminance": 0.25896
}

Semantic roles & 50–950 ramp

primary
#D954D5
secondary
#AADFAC
accent
#E74641
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D954D5

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

Preview Lab → · Contrast checker → · Palette generator →

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