#D54DC2#D54DC2

#D54DC2 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.214 H 333.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D54DC2
RGBrgb(213, 77, 194)
HSLhsl(308, 62%, 57%)
HSVhsv(308, 64%, 84%)
CMYKcmyk(0%, 63.8%, 8.9%, 16.5%)
CIE-LABlab(55.43, 66.27, -34.60)
CIE-LCHlch(55.43, 74.76, 332.43°)
OKLaboklab(64.37% 0.1916 -0.0945)
OKLCHoklch(64.37% 0.214 333.7)
XYZxyz(39.8323, 23.3521, 53.4380)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54DC2 #4DD560
analogous
#A44DD5 #D54DC2 #D54D7E
triadic
#D54DC2 #C2D54D #4DC2D5
tetradic
#D54DC2 #D5A44D #4DD560 #4D7ED5
square
#D54DC2 #D5A44D #4DD560 #4D7ED5
split-complementary
#D54DC2 #7ED54D #4DD5A4
monochromatic
#882079 #B92CA5 #D54DC2 #E17FD3 #ECB0E4

Accessibility & contrast

On white

3.70
#D54DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D54DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54DC2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54DC2#FFFFFF#000000##000000
##D54DC21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#DE5881
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d54dc2;
/* rgb */ color: rgb(213, 77, 194);
/* oklch */ color: oklch(64.4% 0.214 333.7);
Tailwind
colors: {
  custom: {
    50: '#e588d5',
    500: '#d54dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d54dc2;
$custom-light: #e588d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54dc2",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 308.382,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.21361,
    "h": 333.7
  },
  "luminance": 0.23349
}

Semantic roles & 50–950 ramp

primary
#D54DC2
secondary
#A3DBAB
accent
#E55A43
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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