#D54CC2#D54CC2

#D54CC2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.215 H 333.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#D54CC2
RGBrgb(213, 76, 194)
HSLhsl(308, 62%, 57%)
HSVhsv(308, 64%, 84%)
CMYKcmyk(0%, 64.3%, 8.9%, 16.5%)
CIE-LABlab(55.29, 66.66, -34.82)
CIE-LCHlch(55.29, 75.21, 332.42°)
OKLaboklab(64.27% 0.1927 -0.0951)
OKLCHoklch(64.27% 0.215 333.7)
XYZxyz(39.7628, 23.2132, 53.4148)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CC2 #4CD55F
analogous
#A44CD5 #D54CC2 #D54C7E
triadic
#D54CC2 #C2D54C #4CC2D5
tetradic
#D54CC2 #D5A44C #4CD55F #4C7ED5
square
#D54CC2 #D5A44C #4CD55F #4C7ED5
split-complementary
#D54CC2 #7ED54C #4CD5A4
monochromatic
#872079 #B92BA5 #D54CC2 #E17ED3 #ECAFE4

Accessibility & contrast

On white

3.72
#D54CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#D54CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CC2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CC2#FFFFFF#000000##000000
##D54CC21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#DE5780
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d54cc2;
/* rgb */ color: rgb(213, 76, 194);
/* oklch */ color: oklch(64.3% 0.215 333.7);
Tailwind
colors: {
  custom: {
    50: '#e587d5',
    500: '#d54cc2',
    950: '#000000',
  },
}
SCSS
$custom: #d54cc2;
$custom-light: #e587d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cc2",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 308.321,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.21492,
    "h": 333.7
  },
  "luminance": 0.2321
}

Semantic roles & 50–950 ramp

primary
#D54CC2
secondary
#A2DAAA
accent
#E55943
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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