#B548AC#B548AC

#B548AC is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.184 H 331.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B548AC
RGBrgb(181, 72, 172)
HSLhsl(305, 43%, 50%)
HSVhsv(305, 60%, 71%)
CMYKcmyk(0%, 60.2%, 5%, 29%)
CIE-LABlab(48.81, 56.56, -32.53)
CIE-LCHlch(48.81, 65.25, 330.09°)
OKLaboklab(58.25% 0.1609 -0.0892)
OKLCHoklch(58.25% 0.184 331)
XYZxyz(28.8197, 17.4391, 40.8699)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548AC #48B551
analogous
#8848B5 #B548AC #B54876
triadic
#B548AC #ACB548 #48ACB5
tetradic
#B548AC #B58848 #48B551 #4876B5
square
#B548AC #B58848 #48B551 #4876B5
split-complementary
#B548AC #76B548 #48B588
monochromatic
#5D2559 #893782 #B548AC #C773C0 #D99FD4

Accessibility & contrast

On white

4.68
#B548AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B548AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B548AC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548AC#FFFFFF#000000##FFFFFF
##B548AC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#6579A9
Tritanopia (blue-blind)
#BC5273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b548ac;
/* rgb */ color: rgb(181, 72, 172);
/* oklch */ color: oklch(58.2% 0.184 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce82c5',
    500: '#b548ac',
    950: '#000000',
  },
}
SCSS
$custom: #b548ac;
$custom-light: #ce82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b548ac",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 304.954,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.18395,
    "h": 331
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#B548AC
secondary
#93C598
accent
#D35F55
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B548AC

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

Preview Lab → · Contrast checker → · Palette generator →

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