#D54BC2#D54BC2

#D54BC2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.216 H 333.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D54BC2
RGBrgb(213, 75, 194)
HSLhsl(308, 62%, 56%)
HSVhsv(308, 65%, 84%)
CMYKcmyk(0%, 64.8%, 8.9%, 16.5%)
CIE-LABlab(55.15, 67.05, -35.04)
CIE-LCHlch(55.15, 75.66, 332.41°)
OKLaboklab(64.16% 0.1939 -0.0958)
OKLCHoklch(64.16% 0.216 333.7)
XYZxyz(39.6945, 23.0765, 53.3920)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54BC2 #4BD55E
analogous
#A34BD5 #D54BC2 #D54B7D
triadic
#D54BC2 #C2D54B #4BC2D5
tetradic
#D54BC2 #D5A34B #4BD55E #4B7DD5
square
#D54BC2 #D5A34B #4BD55E #4B7DD5
split-complementary
#D54BC2 #7DD54B #4BD5A3
monochromatic
#861F78 #B82BA4 #D54BC2 #E17DD3 #ECAEE4

Accessibility & contrast

On white

3.74
#D54BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D54BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54BC2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54BC2#FFFFFF#000000##000000
##D54BC21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C6
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#DE5680
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d54bc2;
/* rgb */ color: rgb(213, 75, 194);
/* oklch */ color: oklch(64.2% 0.216 333.7);
Tailwind
colors: {
  custom: {
    50: '#e587d5',
    500: '#d54bc2',
    950: '#000000',
  },
}
SCSS
$custom: #d54bc2;
$custom-light: #e587d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54bc2",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 308.261,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.21621,
    "h": 333.7
  },
  "luminance": 0.23073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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