#D54CD9#D54CD9

#D54CD9 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.233 H 326.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D54CD9
RGBrgb(213, 76, 217)
HSLhsl(298, 65%, 57%)
HSVhsv(298, 65%, 85%)
CMYKcmyk(1.8%, 65%, 0%, 14.9%)
CIE-LABlab(56.41, 70.36, -46.17)
CIE-LCHlch(56.41, 84.16, 326.72°)
OKLaboklab(65.44% 0.1944 -0.1279)
OKLCHoklch(65.44% 0.233 326.7)
XYZxyz(42.5486, 24.3275, 68.0868)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CD9 #50D94C
analogous
#8F4CD9 #D54CD9 #D94C96
triadic
#D54CD9 #D9D54C #4CD9D5
tetradic
#D54CD9 #D98F4C #50D94C #4C96D9
square
#D54CD9 #D98F4C #50D94C #4C96D9
split-complementary
#D54CD9 #96D94C #4CD98F
monochromatic
#8A1E8D #BB29BF #D54CD9 #E17EE4 #EDB1EE

Accessibility & contrast

On white

3.58
#D54CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D54CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CD9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CD9#FFFFFF#000000##000000
##D54CD91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357CDD
Deuteranopia (green-blind)
#6B8DD5
Tritanopia (blue-blind)
#DB608C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d54cd9;
/* rgb */ color: rgb(213, 76, 217);
/* oklch */ color: oklch(65.4% 0.233 326.7);
Tailwind
colors: {
  custom: {
    50: '#e588e5',
    500: '#d54cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d54cd9;
$custom-light: #e588e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cd9",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 298.298,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65444,
    "c": 0.23268,
    "h": 326.7
  },
  "luminance": 0.24325
}

Semantic roles & 50–950 ramp

primary
#D54CD9
secondary
#A6DDA4
accent
#E84045
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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