#D54ED7#D54ED7

#D54ED7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.229 H 327.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D54ED7
RGBrgb(213, 78, 215)
HSLhsl(299, 63%, 57%)
HSVhsv(299, 64%, 84%)
CMYKcmyk(0.9%, 63.7%, 0%, 15.7%)
CIE-LABlab(56.59, 69.25, -44.77)
CIE-LCHlch(56.59, 82.46, 327.12°)
OKLaboklab(65.54% 0.1921 -0.1238)
OKLCHoklch(65.54% 0.229 327.2)
XYZxyz(42.4300, 24.5040, 66.7717)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54ED7 #50D74E
analogous
#904ED7 #D54ED7 #D74E95
triadic
#D54ED7 #D7D54E #4ED7D5
tetradic
#D54ED7 #D7904E #50D74E #4E95D7
square
#D54ED7 #D7904E #50D74E #4E95D7
split-complementary
#D54ED7 #95D74E #4ED790
monochromatic
#8A1F8B #BB2BBD #D54ED7 #E180E2 #EDB2EE

Accessibility & contrast

On white

3.56
#D54ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D54ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54ED7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54ED7#FFFFFF#000000##000000
##D54ED71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDB
Deuteranopia (green-blind)
#6E8ED3
Tritanopia (blue-blind)
#DB618C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54ed7;
/* rgb */ color: rgb(213, 78, 215);
/* oklch */ color: oklch(65.5% 0.229 327.2);
Tailwind
colors: {
  custom: {
    50: '#e589e4',
    500: '#d54ed7',
    950: '#000000',
  },
}
SCSS
$custom: #d54ed7;
$custom-light: #e589e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ed7",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 299.124,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65537,
    "c": 0.22858,
    "h": 327.2
  },
  "luminance": 0.24501
}

Semantic roles & 50–950 ramp

primary
#D54ED7
secondary
#A6DCA5
accent
#E64244
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D54ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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