#D54DCB#D54DCB

#D54DCB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.220 H 330.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D54DCB
RGBrgb(213, 77, 203)
HSLhsl(304, 62%, 57%)
HSVhsv(304, 64%, 84%)
CMYKcmyk(0%, 63.8%, 4.7%, 16.5%)
CIE-LABlab(55.86, 67.68, -39.09)
CIE-LCHlch(55.86, 78.16, 329.99°)
OKLaboklab(64.81% 0.1925 -0.1074)
OKLCHoklch(64.81% 0.22 330.8)
XYZxyz(40.8738, 23.7687, 58.9234)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54DCB #4DD557
analogous
#9B4DD5 #D54DCB #D54D87
triadic
#D54DCB #CBD54D #4DCBD5
tetradic
#D54DCB #D59B4D #4DD557 #4D87D5
square
#D54DCB #D59B4D #4DD557 #4D87D5
split-complementary
#D54DCB #87D54D #4DD59B
monochromatic
#882080 #B92CAF #D54DCB #E17FD9 #ECB0E8

Accessibility & contrast

On white

3.65
#D54DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D54DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54DCB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54DCB#FFFFFF#000000##000000
##D54DCB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#738DC7
Tritanopia (blue-blind)
#DD5B85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54dcb;
/* rgb */ color: rgb(213, 77, 203);
/* oklch */ color: oklch(64.8% 0.220 330.8);
Tailwind
colors: {
  custom: {
    50: '#e588db',
    500: '#d54dcb',
    950: '#000000',
  },
}
SCSS
$custom: #d54dcb;
$custom-light: #e588db;
$custom-dark: #000000;
JSON
{
  "hex": "#d54dcb",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 304.412,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64813,
    "c": 0.22042,
    "h": 330.8
  },
  "luminance": 0.23766
}

Semantic roles & 50–950 ramp

primary
#D54DCB
secondary
#A3DBA7
accent
#E54F43
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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