#D54FE5#D54FE5

#D54FE5 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.4% C 0.239 H 323.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#D54FE5
RGBrgb(213, 79, 229)
HSLhsl(294, 74%, 60%)
HSVhsv(294, 66%, 90%)
CMYKcmyk(7%, 65.5%, 0%, 10.2%)
CIE-LABlab(57.46, 71.25, -51.28)
CIE-LCHlch(57.46, 87.79, 324.26°)
OKLaboklab(66.4% 0.1914 -0.1427)
OKLCHoklch(66.4% 0.239 323.3)
XYZxyz(44.3781, 25.3978, 76.6783)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FE5 #5FE54F
analogous
#8A4FE5 #D54FE5 #E54FAA
triadic
#D54FE5 #E5D54F #4FE5D5
tetradic
#D54FE5 #E58A4F #5FE54F #4FAAE5
square
#D54FE5 #E58A4F #5FE54F #4FAAE5
split-complementary
#D54FE5 #AAE54F #4FE58A
monochromatic
#9318A2 #C320D7 #D54FE5 #E284ED #EEBAF5

Accessibility & contrast

On white

3.45
#D54FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#D54FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FE5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FE5#FFFFFF#000000##000000
##D54FE51.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80E9
Deuteranopia (green-blind)
#668FE1
Tritanopia (blue-blind)
#D86794
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d54fe5;
/* rgb */ color: rgb(213, 79, 229);
/* oklch */ color: oklch(66.4% 0.239 323.3);
Tailwind
colors: {
  custom: {
    50: '#e68aee',
    500: '#d54fe5',
    950: '#000000',
  },
}
SCSS
$custom: #d54fe5;
$custom-light: #e68aee;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fe5",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 293.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66403,
    "c": 0.23877,
    "h": 323.3
  },
  "luminance": 0.25395
}

Semantic roles & 50–950 ramp

primary
#D54FE5
secondary
#B1E5AB
accent
#D60F24
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D54FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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