#D54EC5#D54EC5

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

Color values

HEX#D54EC5
RGBrgb(213, 78, 197)
HSLhsl(307, 62%, 57%)
HSVhsv(307, 63%, 84%)
CMYKcmyk(0%, 63.4%, 7.5%, 16.5%)
CIE-LABlab(55.71, 66.34, -35.88)
CIE-LCHlch(55.71, 75.42, 331.59°)
OKLaboklab(64.62% 0.1907 -0.0982)
OKLCHoklch(64.62% 0.215 332.8)
XYZxyz(40.2431, 23.6292, 55.2538)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54EC5 #4ED55E
analogous
#A24ED5 #D54EC5 #D54E82
triadic
#D54EC5 #C5D54E #4EC5D5
tetradic
#D54EC5 #D5A24E #4ED55E #4E82D5
square
#D54EC5 #D5A24E #4ED55E #4E82D5
split-complementary
#D54EC5 #82D54E #4ED5A2
monochromatic
#88207C #BA2CA9 #D54EC5 #E17FD5 #ECB1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54EC5#FFFFFF#000000##000000
##D54EC51.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#768CC1
Tritanopia (blue-blind)
#DE5A83
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d54ec5;
/* rgb */ color: rgb(213, 78, 197);
/* oklch */ color: oklch(64.6% 0.215 332.8);
Tailwind
colors: {
  custom: {
    50: '#e589d7',
    500: '#d54ec5',
    950: '#000000',
  },
}
SCSS
$custom: #d54ec5;
$custom-light: #e589d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ec5",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 307.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64619,
    "c": 0.21453,
    "h": 332.8
  },
  "luminance": 0.23626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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