#D54EC1#D54EC1

#D54EC1 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.212 H 334.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D54EC1
RGBrgb(213, 78, 193)
HSLhsl(309, 62%, 57%)
HSVhsv(309, 63%, 84%)
CMYKcmyk(0%, 63.4%, 9.4%, 16.5%)
CIE-LABlab(55.53, 65.72, -33.87)
CIE-LCHlch(55.53, 73.93, 332.73°)
OKLaboklab(64.43% 0.1903 -0.0924)
OKLCHoklch(64.43% 0.212 334.1)
XYZxyz(39.7908, 23.4483, 52.8720)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54EC1 #4ED562
analogous
#A64ED5 #D54EC1 #D54E7E
triadic
#D54EC1 #C1D54E #4EC1D5
tetradic
#D54EC1 #D5A64E #4ED562 #4E7ED5
square
#D54EC1 #D5A64E #4ED562 #4E7ED5
split-complementary
#D54EC1 #7ED54E #4ED5A6
monochromatic
#882079 #BA2CA5 #D54EC1 #E17FD2 #ECB1E4

Accessibility & contrast

On white

3.69
#D54EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D54EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54EC1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54EC1#FFFFFF#000000##000000
##D54EC11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C4
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#DF5881
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d54ec1;
/* rgb */ color: rgb(213, 78, 193);
/* oklch */ color: oklch(64.4% 0.212 334.1);
Tailwind
colors: {
  custom: {
    50: '#e588d4',
    500: '#d54ec1',
    950: '#000000',
  },
}
SCSS
$custom: #d54ec1;
$custom-light: #e588d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ec1",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 308.889,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64425,
    "c": 0.21154,
    "h": 334.1
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

primary
#D54EC1
secondary
#A4DBAC
accent
#E55B43
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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