#D54FC5#D54FC5

#D54FC5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.213 H 332.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D54FC5
RGBrgb(213, 79, 197)
HSLhsl(307, 61%, 57%)
HSVhsv(307, 63%, 84%)
CMYKcmyk(0%, 62.9%, 7.5%, 16.5%)
CIE-LABlab(55.86, 65.94, -35.65)
CIE-LCHlch(55.86, 74.96, 331.60°)
OKLaboklab(64.72% 0.1896 -0.0975)
OKLCHoklch(64.72% 0.213 332.8)
XYZxyz(40.3147, 23.7724, 55.2777)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FC5 #4FD55F
analogous
#A24FD5 #D54FC5 #D54F82
triadic
#D54FC5 #C5D54F #4FC5D5
tetradic
#D54FC5 #D5A24F #4FD55F #4F82D5
square
#D54FC5 #D5A24F #4FD55F #4F82D5
split-complementary
#D54FC5 #82D54F #4FD5A2
monochromatic
#89217C #BA2CA9 #D54FC5 #E180D5 #EDB2E6

Accessibility & contrast

On white

3.65
#D54FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D54FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FC5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FC5#FFFFFF#000000##000000
##D54FC51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7AC9
Deuteranopia (green-blind)
#778DC2
Tritanopia (blue-blind)
#DE5A83
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54fc5;
/* rgb */ color: rgb(213, 79, 197);
/* oklch */ color: oklch(64.7% 0.213 332.8);
Tailwind
colors: {
  custom: {
    50: '#e589d7',
    500: '#d54fc5',
    950: '#000000',
  },
}
SCSS
$custom: #d54fc5;
$custom-light: #e589d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fc5",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 307.164,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.2132,
    "h": 332.8
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#D54FC5
secondary
#A5DBAB
accent
#E55643
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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