#D54FD2#D54FD2

#D54FD2 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.223 H 328.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#D54FD2
RGBrgb(213, 79, 210)
HSLhsl(301, 61%, 57%)
HSVhsv(301, 63%, 84%)
CMYKcmyk(0%, 62.9%, 1.4%, 16.5%)
CIE-LABlab(56.48, 68.03, -42.10)
CIE-LCHlch(56.48, 80.00, 328.25°)
OKLaboklab(65.38% 0.1907 -0.1161)
OKLCHoklch(65.38% 0.223 328.7)
XYZxyz(41.8690, 24.3941, 63.4636)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FD2 #4FD552
analogous
#954FD5 #D54FD2 #D54F8F
triadic
#D54FD2 #D2D54F #4FD2D5
tetradic
#D54FD2 #D5954F #4FD552 #4F8FD5
square
#D54FD2 #D5954F #4FD552 #4F8FD5
split-complementary
#D54FD2 #8FD54F #4FD595
monochromatic
#892187 #BA2CB7 #D54FD2 #E180DF #EDB2EB

Accessibility & contrast

On white

3.57
#D54FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D54FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FD2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FD2#FFFFFF#000000##000000
##D54FD21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#718ECE
Tritanopia (blue-blind)
#DC608A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d54fd2;
/* rgb */ color: rgb(213, 79, 210);
/* oklch */ color: oklch(65.4% 0.223 328.7);
Tailwind
colors: {
  custom: {
    50: '#e589e0',
    500: '#d54fd2',
    950: '#000000',
  },
}
SCSS
$custom: #d54fd2;
$custom-light: #e589e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fd2",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 301.343,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.2233,
    "h": 328.7
  },
  "luminance": 0.24391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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