#D54CD2#D54CD2

#D54CD2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.227 H 328.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D54CD2
RGBrgb(213, 76, 210)
HSLhsl(301, 62%, 57%)
HSVhsv(301, 64%, 84%)
CMYKcmyk(0%, 64.3%, 1.4%, 16.5%)
CIE-LABlab(56.06, 69.20, -42.76)
CIE-LCHlch(56.06, 81.35, 328.29°)
OKLaboklab(65.07% 0.1941 -0.118)
OKLCHoklch(65.07% 0.227 328.7)
XYZxyz(41.6574, 23.9711, 63.3930)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CD2 #4CD54F
analogous
#944CD5 #D54CD2 #D54C8E
triadic
#D54CD2 #D2D54C #4CD2D5
tetradic
#D54CD2 #D5944C #4CD54F #4C8ED5
square
#D54CD2 #D5944C #4CD54F #4C8ED5
split-complementary
#D54CD2 #8ED54C #4CD594
monochromatic
#872085 #B92BB5 #D54CD2 #E17EDE #ECAFEB

Accessibility & contrast

On white

3.62
#D54CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D54CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CD2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CD2#FFFFFF#000000##000000
##D54CD21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#6F8DCE
Tritanopia (blue-blind)
#DC5D89
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54cd2;
/* rgb */ color: rgb(213, 76, 210);
/* oklch */ color: oklch(65.1% 0.227 328.7);
Tailwind
colors: {
  custom: {
    50: '#e588e0',
    500: '#d54cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d54cd2;
$custom-light: #e588e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cd2",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 301.314,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65072,
    "c": 0.22714,
    "h": 328.7
  },
  "luminance": 0.23968
}

Semantic roles & 50–950 ramp

primary
#D54CD2
secondary
#A2DAA4
accent
#E54643
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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