#D54BC5#D54BC5

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

Color values

HEX#D54BC5
RGBrgb(213, 75, 197)
HSLhsl(307, 62%, 56%)
HSVhsv(307, 65%, 84%)
CMYKcmyk(0%, 64.8%, 7.5%, 16.5%)
CIE-LABlab(55.29, 67.52, -36.54)
CIE-LCHlch(55.29, 76.77, 331.57°)
OKLaboklab(64.31% 0.1942 -0.1001)
OKLCHoklch(64.31% 0.218 332.7)
XYZxyz(40.0348, 23.2126, 55.1844)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54BC5 #4BD55B
analogous
#A04BD5 #D54BC5 #D54B80
triadic
#D54BC5 #C5D54B #4BC5D5
tetradic
#D54BC5 #D5A04B #4BD55B #4B80D5
square
#D54BC5 #D5A04B #4BD55B #4B80D5
split-complementary
#D54BC5 #80D54B #4BD5A0
monochromatic
#861F7A #B82BA8 #D54BC5 #E17DD5 #ECAEE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54BC5#FFFFFF#000000##000000
##D54BC51.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)
#4678C9
Deuteranopia (green-blind)
#758BC1
Tritanopia (blue-blind)
#DE5782
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d54bc5;
/* rgb */ color: rgb(213, 75, 197);
/* oklch */ color: oklch(64.3% 0.218 332.7);
Tailwind
colors: {
  custom: {
    50: '#e587d7',
    500: '#d54bc5',
    950: '#000000',
  },
}
SCSS
$custom: #d54bc5;
$custom-light: #e587d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54bc5",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 306.957,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6431,
    "c": 0.21844,
    "h": 332.7
  },
  "luminance": 0.2321
}

Semantic roles & 50–950 ramp

primary
#D54BC5
secondary
#A2DAA8
accent
#E55543
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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