#D54ED9#D54ED9

#D54ED9 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.6% C 0.230 H 326.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D54ED9
RGBrgb(213, 78, 217)
HSLhsl(298, 65%, 58%)
HSVhsv(298, 64%, 85%)
CMYKcmyk(1.8%, 64.1%, 0%, 14.9%)
CIE-LABlab(56.69, 69.59, -45.74)
CIE-LCHlch(56.69, 83.27, 326.68°)
OKLaboklab(65.64% 0.1922 -0.1266)
OKLCHoklch(65.64% 0.23 326.6)
XYZxyz(42.6886, 24.6074, 68.1334)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54ED9 #52D94E
analogous
#8F4ED9 #D54ED9 #D94E98
triadic
#D54ED9 #D9D54E #4ED9D5
tetradic
#D54ED9 #D98F4E #52D94E #4E98D9
square
#D54ED9 #D98F4E #52D94E #4E98D9
split-complementary
#D54ED9 #98D94E #4ED98F
monochromatic
#8B1F8E #BC29C0 #D54ED9 #E180E4 #EDB3EF

Accessibility & contrast

On white

3.55
#D54ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D54ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54ED9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54ED9#FFFFFF#000000##000000
##D54ED91.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDD
Deuteranopia (green-blind)
#6D8ED5
Tritanopia (blue-blind)
#DB628D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54ed9;
/* rgb */ color: rgb(213, 78, 217);
/* oklch */ color: oklch(65.6% 0.230 326.6);
Tailwind
colors: {
  custom: {
    50: '#e589e5',
    500: '#d54ed9',
    950: '#000000',
  },
}
SCSS
$custom: #d54ed9;
$custom-light: #e589e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ed9",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 298.273,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65644,
    "c": 0.23019,
    "h": 326.6
  },
  "luminance": 0.24605
}

Semantic roles & 50–950 ramp

primary
#D54ED9
secondary
#A7DDA6
accent
#E84045
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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