#D54EC2#D54EC2

#D54EC2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.212 H 333.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D54EC2
RGBrgb(213, 78, 194)
HSLhsl(308, 62%, 57%)
HSVhsv(308, 63%, 84%)
CMYKcmyk(0%, 63.4%, 8.9%, 16.5%)
CIE-LABlab(55.58, 65.87, -34.37)
CIE-LCHlch(55.58, 74.30, 332.44°)
OKLaboklab(64.47% 0.1904 -0.0939)
OKLCHoklch(64.47% 0.212 333.8)
XYZxyz(39.9028, 23.4931, 53.4615)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54EC2 #4ED561
analogous
#A44ED5 #D54EC2 #D54E7F
triadic
#D54EC2 #C2D54E #4EC2D5
tetradic
#D54EC2 #D5A44E #4ED561 #4E7FD5
square
#D54EC2 #D5A44E #4ED561 #4E7FD5
split-complementary
#D54EC2 #7FD54E #4ED5A4
monochromatic
#88207A #BA2CA6 #D54EC2 #E17FD3 #ECB1E4

Accessibility & contrast

On white

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

On black

5.70
#D54EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54EC2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54EC2#FFFFFF#000000##000000
##D54EC21.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#DE5881
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d54ec2;
/* rgb */ color: rgb(213, 78, 194);
/* oklch */ color: oklch(64.5% 0.212 333.8);
Tailwind
colors: {
  custom: {
    50: '#e588d5',
    500: '#d54ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d54ec2;
$custom-light: #e588d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ec2",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 308.444,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64473,
    "c": 0.21228,
    "h": 333.8
  },
  "luminance": 0.2349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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