#D54CD1#D54CD1

#D54CD1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.226 H 329.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D54CD1
RGBrgb(213, 76, 209)
HSLhsl(302, 62%, 57%)
HSVhsv(302, 64%, 84%)
CMYKcmyk(0%, 64.3%, 1.9%, 16.5%)
CIE-LABlab(56.01, 69.04, -42.27)
CIE-LCHlch(56.01, 80.95, 328.52°)
OKLaboklab(65.02% 0.194 -0.1166)
OKLCHoklch(65.02% 0.226 329)
XYZxyz(41.5332, 23.9214, 62.7390)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CD1 #4CD550
analogous
#954CD5 #D54CD1 #D54C8D
triadic
#D54CD1 #D1D54C #4CD1D5
tetradic
#D54CD1 #D5954C #4CD550 #4C8DD5
square
#D54CD1 #D5954C #4CD550 #4C8DD5
split-complementary
#D54CD1 #8DD54C #4CD595
monochromatic
#872084 #B92BB4 #D54CD1 #E17EDE #ECAFEA

Accessibility & contrast

On white

3.63
#D54CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D54CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CD1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CD1#FFFFFF#000000##000000
##D54CD11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7AD5
Deuteranopia (green-blind)
#708DCD
Tritanopia (blue-blind)
#DC5D88
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54cd1;
/* rgb */ color: rgb(213, 76, 209);
/* oklch */ color: oklch(65.0% 0.226 329.0);
Tailwind
colors: {
  custom: {
    50: '#e588df',
    500: '#d54cd1',
    950: '#000000',
  },
}
SCSS
$custom: #d54cd1;
$custom-light: #e588df;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cd1",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 301.752,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6502,
    "c": 0.22635,
    "h": 329
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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