#D54CD5#D54CD5

#D54CD5 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.230 H 327.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D54CD5
RGBrgb(213, 76, 213)
HSLhsl(300, 62%, 57%)
HSVhsv(300, 64%, 84%)
CMYKcmyk(0%, 64.3%, 0%, 16.5%)
CIE-LABlab(56.21, 69.69, -44.23)
CIE-LCHlch(56.21, 82.54, 327.60°)
OKLaboklab(65.23% 0.1942 -0.1222)
OKLCHoklch(65.23% 0.23 327.8)
XYZxyz(42.0347, 24.1220, 65.3799)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CD5 #4CD54C
analogous
#914CD5 #D54CD5 #D54C91
triadic
#D54CD5 #D5D54C #4CD5D5
tetradic
#D54CD5 #D5914C #4CD54C #4C91D5
square
#D54CD5 #D5914C #4CD54C #4C91D5
split-complementary
#D54CD5 #91D54C #4CD591
monochromatic
#872087 #B92BB9 #D54CD5 #E17EE1 #ECAFEC

Accessibility & contrast

On white

3.61
#D54CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D54CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CD5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CD5#FFFFFF#000000##000000
##D54CD51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#6E8DD1
Tritanopia (blue-blind)
#DB5F8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d54cd5;
/* rgb */ color: rgb(213, 76, 213);
/* oklch */ color: oklch(65.2% 0.230 327.8);
Tailwind
colors: {
  custom: {
    50: '#e588e2',
    500: '#d54cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d54cd5;
$custom-light: #e588e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cd5",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 300,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6523,
    "c": 0.2295,
    "h": 327.8
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

primary
#D54CD5
secondary
#A2DAA2
accent
#E54343
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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