#D54DC9#D54DC9

#D54DC9 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.219 H 331.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D54DC9
RGBrgb(213, 77, 201)
HSLhsl(305, 62%, 57%)
HSVhsv(305, 64%, 84%)
CMYKcmyk(0%, 63.8%, 5.6%, 16.5%)
CIE-LABlab(55.76, 67.36, -38.10)
CIE-LCHlch(55.76, 77.39, 330.51°)
OKLaboklab(64.71% 0.1923 -0.1046)
OKLCHoklch(64.71% 0.219 331.5)
XYZxyz(40.6370, 23.6740, 57.6762)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54DC9 #4DD559
analogous
#9D4DD5 #D54DC9 #D54D85
triadic
#D54DC9 #C9D54D #4DC9D5
tetradic
#D54DC9 #D59D4D #4DD559 #4D85D5
square
#D54DC9 #D59D4D #4DD559 #4D85D5
split-complementary
#D54DC9 #85D54D #4DD59D
monochromatic
#88207E #B92CAD #D54DC9 #E17FD8 #ECB0E7

Accessibility & contrast

On white

3.66
#D54DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D54DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54DC9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54DC9#FFFFFF#000000##000000
##D54DC91.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4579CD
Deuteranopia (green-blind)
#748CC5
Tritanopia (blue-blind)
#DD5A84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54dc9;
/* rgb */ color: rgb(213, 77, 201);
/* oklch */ color: oklch(64.7% 0.219 331.5);
Tailwind
colors: {
  custom: {
    50: '#e588da',
    500: '#d54dc9',
    950: '#000000',
  },
}
SCSS
$custom: #d54dc9;
$custom-light: #e588da;
$custom-dark: #000000;
JSON
{
  "hex": "#d54dc9",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 305.294,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64713,
    "c": 0.21888,
    "h": 331.5
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

primary
#D54DC9
secondary
#A3DBA8
accent
#E55143
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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