#B548AB#B548AB

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

Color values

HEX#B548AB
RGBrgb(181, 72, 171)
HSLhsl(306, 43%, 50%)
HSVhsv(306, 60%, 71%)
CMYKcmyk(0%, 60.2%, 5.5%, 29%)
CIE-LABlab(48.76, 56.39, -32.02)
CIE-LCHlch(48.76, 64.85, 330.41°)
OKLaboklab(58.19% 0.1608 -0.0877)
OKLCHoklch(58.19% 0.183 331.4)
XYZxyz(28.7240, 17.4008, 40.3660)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548AB #48B552
analogous
#8948B5 #B548AB #B54874
triadic
#B548AB #ABB548 #48ABB5
tetradic
#B548AB #B58948 #48B552 #4874B5
square
#B548AB #B58948 #48B552 #4874B5
split-complementary
#B548AB #74B548 #48B589
monochromatic
#5D2558 #893782 #B548AB #C773C0 #D99FD3

Accessibility & contrast

On white

4.69
#B548AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B548AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B548AB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548AB#FFFFFF#000000##FFFFFF
##B548AB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#6679A8
Tritanopia (blue-blind)
#BC5273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b548ab;
/* rgb */ color: rgb(181, 72, 171);
/* oklch */ color: oklch(58.2% 0.183 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce82c4',
    500: '#b548ab',
    950: '#000000',
  },
}
SCSS
$custom: #b548ab;
$custom-light: #ce82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b548ab",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 305.505,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.18313,
    "h": 331.4
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#B548AB
secondary
#93C598
accent
#D36155
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B548AB

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

Preview Lab → · Contrast checker → · Palette generator →

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