#D54CD3#D54CD3

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

Color values

HEX#D54CD3
RGBrgb(213, 76, 211)
HSLhsl(301, 62%, 57%)
HSVhsv(301, 64%, 84%)
CMYKcmyk(0%, 64.3%, 0.9%, 16.5%)
CIE-LABlab(56.11, 69.37, -43.25)
CIE-LCHlch(56.11, 81.75, 328.05°)
OKLaboklab(65.12% 0.1941 -0.1194)
OKLCHoklch(65.12% 0.228 328.4)
XYZxyz(41.7824, 24.0210, 64.0512)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CD3 #4CD54E
analogous
#934CD5 #D54CD3 #D54C8F
triadic
#D54CD3 #D3D54C #4CD3D5
tetradic
#D54CD3 #D5934C #4CD54E #4C8FD5
square
#D54CD3 #D5934C #4CD54E #4C8FD5
split-complementary
#D54CD3 #8FD54C #4CD593
monochromatic
#872085 #B92BB6 #D54CD3 #E17EDF #ECAFEB

Accessibility & contrast

On white

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

On black

5.80
#D54CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CD3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CD3#FFFFFF#000000##000000
##D54CD31.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7BD7
Deuteranopia (green-blind)
#6F8DCF
Tritanopia (blue-blind)
#DC5E89
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54cd3;
/* rgb */ color: rgb(213, 76, 211);
/* oklch */ color: oklch(65.1% 0.228 328.4);
Tailwind
colors: {
  custom: {
    50: '#e588e1',
    500: '#d54cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d54cd3;
$custom-light: #e588e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cd3",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 300.876,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65124,
    "c": 0.22792,
    "h": 328.4
  },
  "luminance": 0.24018
}

Semantic roles & 50–950 ramp

primary
#D54CD3
secondary
#A2DAA3
accent
#E54543
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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