#D54DC7#D54DC7

#D54DC7 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.6% C 0.217 H 332.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D54DC7
RGBrgb(213, 77, 199)
HSLhsl(306, 62%, 57%)
HSVhsv(306, 64%, 84%)
CMYKcmyk(0%, 63.8%, 6.6%, 16.5%)
CIE-LABlab(55.67, 67.05, -37.10)
CIE-LCHlch(55.67, 76.63, 331.04°)
OKLaboklab(64.61% 0.1921 -0.1017)
OKLCHoklch(64.61% 0.217 332.1)
XYZxyz(40.4033, 23.5805, 56.4452)
Luminance0.2358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54DC7 #4DD55B
analogous
#9F4DD5 #D54DC7 #D54D83
triadic
#D54DC7 #C7D54D #4DC7D5
tetradic
#D54DC7 #D59F4D #4DD55B #4D83D5
square
#D54DC7 #D59F4D #4DD55B #4D83D5
split-complementary
#D54DC7 #83D54D #4DD59F
monochromatic
#88207D #B92CAB #D54DC7 #E17FD7 #ECB0E6

Accessibility & contrast

On white

3.67
#D54DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D54DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54DC7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54DC7#FFFFFF#000000##000000
##D54DC71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#758CC3
Tritanopia (blue-blind)
#DE5A83
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d54dc7;
/* rgb */ color: rgb(213, 77, 199);
/* oklch */ color: oklch(64.6% 0.217 332.1);
Tailwind
colors: {
  custom: {
    50: '#e588d8',
    500: '#d54dc7',
    950: '#000000',
  },
}
SCSS
$custom: #d54dc7;
$custom-light: #e588d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d54dc7",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 306.176,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64613,
    "c": 0.21736,
    "h": 332.1
  },
  "luminance": 0.23577
}

Semantic roles & 50–950 ramp

primary
#D54DC7
secondary
#A3DBA9
accent
#E55443
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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