#D548C4#D548C4

#D548C4 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.0% C 0.221 H 333.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D548C4
RGBrgb(213, 72, 196)
HSLhsl(307, 63%, 56%)
HSVhsv(307, 66%, 84%)
CMYKcmyk(0%, 66.2%, 8%, 16.5%)
CIE-LABlab(54.83, 68.50, -36.69)
CIE-LCHlch(54.83, 77.71, 331.83°)
OKLaboklab(63.96% 0.1974 -0.1004)
OKLCHoklch(63.96% 0.221 333)
XYZxyz(39.7219, 22.7695, 54.5167)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D548C4 #48D559
analogous
#9F48D5 #D548C4 #D5487D
triadic
#D548C4 #C4D548 #48C4D5
tetradic
#D548C4 #D59F48 #48D559 #487DD5
square
#D548C4 #D59F48 #48D559 #487DD5
split-complementary
#D548C4 #7DD548 #48D59F
monochromatic
#841E78 #B62AA5 #D548C4 #E07AD4 #ECACE4

Accessibility & contrast

On white

3.78
#D548C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D548C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D548C4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D548C4#FFFFFF#000000##000000
##D548C41.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4376C8
Deuteranopia (green-blind)
#748AC0
Tritanopia (blue-blind)
#DE5480
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d548c4;
/* rgb */ color: rgb(213, 72, 196);
/* oklch */ color: oklch(64.0% 0.221 333.0);
Tailwind
colors: {
  custom: {
    50: '#e585d6',
    500: '#d548c4',
    950: '#000000',
  },
}
SCSS
$custom: #d548c4;
$custom-light: #e585d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d548c4",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 307.234,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.22149,
    "h": 333
  },
  "luminance": 0.22766
}

Semantic roles & 50–950 ramp

primary
#D548C4
secondary
#9FDAA6
accent
#E65642
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D548C4

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

Preview Lab → · Contrast checker → · Palette generator →

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