#D54ED2#D54ED2

#D54ED2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.225 H 328.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D54ED2
RGBrgb(213, 78, 210)
HSLhsl(301, 62%, 57%)
HSVhsv(301, 63%, 84%)
CMYKcmyk(0%, 63.4%, 1.4%, 16.5%)
CIE-LABlab(56.34, 68.42, -42.32)
CIE-LCHlch(56.34, 80.45, 328.26°)
OKLaboklab(65.27% 0.1919 -0.1167)
OKLCHoklch(65.27% 0.225 328.7)
XYZxyz(41.7974, 24.2509, 63.4397)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54ED2 #4ED551
analogous
#944ED5 #D54ED2 #D54E8F
triadic
#D54ED2 #D2D54E #4ED2D5
tetradic
#D54ED2 #D5944E #4ED551 #4E8FD5
square
#D54ED2 #D5944E #4ED551 #4E8FD5
split-complementary
#D54ED2 #8FD54E #4ED594
monochromatic
#882086 #BA2CB7 #D54ED2 #E17FDF #ECB1EB

Accessibility & contrast

On white

3.59
#D54ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D54ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54ED2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54ED2#FFFFFF#000000##000000
##D54ED21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#708DCE
Tritanopia (blue-blind)
#DC5F89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d54ed2;
/* rgb */ color: rgb(213, 78, 210);
/* oklch */ color: oklch(65.3% 0.225 328.7);
Tailwind
colors: {
  custom: {
    50: '#e589e0',
    500: '#d54ed2',
    950: '#000000',
  },
}
SCSS
$custom: #d54ed2;
$custom-light: #e589e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ed2",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 301.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65274,
    "c": 0.22459,
    "h": 328.7
  },
  "luminance": 0.24248
}

Semantic roles & 50–950 ramp

primary
#D54ED2
secondary
#A4DBA5
accent
#E54743
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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