#D54EC7#D54EC7

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

Color values

HEX#D54EC7
RGBrgb(213, 78, 199)
HSLhsl(306, 62%, 57%)
HSVhsv(306, 63%, 84%)
CMYKcmyk(0%, 63.4%, 6.6%, 16.5%)
CIE-LABlab(55.81, 66.65, -36.88)
CIE-LCHlch(55.81, 76.17, 331.04°)
OKLaboklab(64.72% 0.191 -0.1011)
OKLCHoklch(64.72% 0.216 332.1)
XYZxyz(40.4738, 23.7215, 56.4687)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54EC7 #4ED55C
analogous
#9F4ED5 #D54EC7 #D54E84
triadic
#D54EC7 #C7D54E #4EC7D5
tetradic
#D54EC7 #D59F4E #4ED55C #4E84D5
square
#D54EC7 #D59F4E #4ED55C #4E84D5
split-complementary
#D54EC7 #84D54E #4ED59F
monochromatic
#88207D #BA2CAB #D54EC7 #E17FD7 #ECB1E6

Accessibility & contrast

On white

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

On black

5.74
#D54EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54EC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54EC7#FFFFFF#000000##000000
##D54EC71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4879CB
Deuteranopia (green-blind)
#768DC3
Tritanopia (blue-blind)
#DE5A84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54ec7;
/* rgb */ color: rgb(213, 78, 199);
/* oklch */ color: oklch(64.7% 0.216 332.1);
Tailwind
colors: {
  custom: {
    50: '#e589d8',
    500: '#d54ec7',
    950: '#000000',
  },
}
SCSS
$custom: #d54ec7;
$custom-light: #e589d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ec7",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 306.222,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64717,
    "c": 0.21604,
    "h": 332.1
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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