#D548C7#D548C7

#D548C7 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.224 H 332.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#D548C7
RGBrgb(213, 72, 199)
HSLhsl(306, 63%, 56%)
HSVhsv(306, 66%, 84%)
CMYKcmyk(0%, 66.2%, 6.6%, 16.5%)
CIE-LABlab(54.98, 68.97, -38.18)
CIE-LCHlch(54.98, 78.83, 331.03°)
OKLaboklab(64.11% 0.1977 -0.1048)
OKLCHoklch(64.11% 0.224 332.1)
XYZxyz(40.0668, 22.9075, 56.3331)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D548C7 #48D556
analogous
#9C48D5 #D548C7 #D54880
triadic
#D548C7 #C7D548 #48C7D5
tetradic
#D548C7 #D59C48 #48D556 #4880D5
square
#D548C7 #D59C48 #48D556 #4880D5
split-complementary
#D548C7 #80D548 #48D59C
monochromatic
#841E7A #B62AA8 #D548C7 #E07AD6 #ECACE5

Accessibility & contrast

On white

3.76
#D548C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#D548C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D548C7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D548C7#FFFFFF#000000##000000
##D548C71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#738BC3
Tritanopia (blue-blind)
#DE5682
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d548c7;
/* rgb */ color: rgb(213, 72, 199);
/* oklch */ color: oklch(64.1% 0.224 332.1);
Tailwind
colors: {
  custom: {
    50: '#e586d8',
    500: '#d548c7',
    950: '#000000',
  },
}
SCSS
$custom: #d548c7;
$custom-light: #e586d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d548c7",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 305.957,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.22371,
    "h": 332.1
  },
  "luminance": 0.22904
}

Semantic roles & 50–950 ramp

primary
#D548C7
secondary
#9FDAA5
accent
#E65242
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D548C7

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

Preview Lab → · Contrast checker → · Palette generator →

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