#D54CDC#D54CDC

#D54CDC is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.6% C 0.235 H 325.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D54CDC
RGBrgb(213, 76, 220)
HSLhsl(297, 67%, 58%)
HSVhsv(297, 65%, 86%)
CMYKcmyk(3.2%, 65.5%, 0%, 13.7%)
CIE-LABlab(56.57, 70.86, -47.62)
CIE-LCHlch(56.57, 85.38, 326.10°)
OKLaboklab(65.61% 0.1945 -0.1321)
OKLCHoklch(65.61% 0.235 325.8)
XYZxyz(42.9424, 24.4850, 70.1605)
Luminance0.2448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CDC #53DC4C
analogous
#8D4CDC #D54CDC #DC4C9B
triadic
#D54CDC #DCD54C #4CDCD5
tetradic
#D54CDC #DC8D4C #53DC4C #4C9BDC
square
#D54CDC #DC8D4C #53DC4C #4C9BDC
split-complementary
#D54CDC #9BDC4C #4CDC8D
monochromatic
#8C1C91 #BD26C4 #D54CDC #E17FE6 #EDB2F0

Accessibility & contrast

On white

3.56
#D54CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D54CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CDC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CDC#FFFFFF#000000##000000
##D54CDC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#DA618E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54cdc;
/* rgb */ color: rgb(213, 76, 220);
/* oklch */ color: oklch(65.6% 0.235 325.8);
Tailwind
colors: {
  custom: {
    50: '#e588e7',
    500: '#d54cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d54cdc;
$custom-light: #e588e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cdc",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 297.083,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65607,
    "c": 0.2351,
    "h": 325.8
  },
  "luminance": 0.24482
}

Semantic roles & 50–950 ramp

primary
#D54CDC
secondary
#A8DFA5
accent
#EA3E46
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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