#D54FD4#D54FD4

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

Color values

HEX#D54FD4
RGBrgb(213, 79, 212)
HSLhsl(300, 61%, 57%)
HSVhsv(300, 63%, 84%)
CMYKcmyk(0%, 62.9%, 0.5%, 16.5%)
CIE-LABlab(56.58, 68.36, -43.08)
CIE-LCHlch(56.58, 80.80, 327.78°)
OKLaboklab(65.48% 0.1909 -0.1189)
OKLCHoklch(65.48% 0.225 328.1)
XYZxyz(42.1197, 24.4944, 64.7840)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FD4 #4FD550
analogous
#934FD5 #D54FD4 #D54F91
triadic
#D54FD4 #D4D54F #4FD4D5
tetradic
#D54FD4 #D5934F #4FD550 #4F91D5
square
#D54FD4 #D5934F #4FD550 #4F91D5
split-complementary
#D54FD4 #91D54F #4FD593
monochromatic
#892188 #BA2CB9 #D54FD4 #E180E0 #EDB2EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54FD4#FFFFFF#000000##000000
##D54FD41.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)
#3E7CD8
Deuteranopia (green-blind)
#708ED0
Tritanopia (blue-blind)
#DB608B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54fd4;
/* rgb */ color: rgb(213, 79, 212);
/* oklch */ color: oklch(65.5% 0.225 328.1);
Tailwind
colors: {
  custom: {
    50: '#e589e2',
    500: '#d54fd4',
    950: '#000000',
  },
}
SCSS
$custom: #d54fd4;
$custom-light: #e589e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fd4",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 300.448,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65481,
    "c": 0.2249,
    "h": 328.1
  },
  "luminance": 0.24492
}

Semantic roles & 50–950 ramp

primary
#D54FD4
secondary
#A5DBA5
accent
#E54443
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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