#B548A7#B548A7

#B548A7 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.180 H 333.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B548A7
RGBrgb(181, 72, 167)
HSLhsl(308, 43%, 50%)
HSVhsv(308, 60%, 71%)
CMYKcmyk(0%, 60.2%, 7.7%, 29%)
CIE-LABlab(48.57, 55.73, -29.95)
CIE-LCHlch(48.57, 63.27, 331.74°)
OKLaboklab(58% 0.1602 -0.0818)
OKLCHoklch(58% 0.18 333)
XYZxyz(28.3485, 17.2506, 38.3883)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548A7 #48B556
analogous
#8C48B5 #B548A7 #B54871
triadic
#B548A7 #A7B548 #48A7B5
tetradic
#B548A7 #B58C48 #48B556 #4871B5
square
#B548A7 #B58C48 #48B556 #4871B5
split-complementary
#B548A7 #71B548 #48B58C
monochromatic
#5D2556 #89377F #B548A7 #C773BC #D99FD1

Accessibility & contrast

On white

4.72
#B548A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B548A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B548A7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548A7#FFFFFF#000000##FFFFFF
##B548A71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569AA
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#BD5071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b548a7;
/* rgb */ color: rgb(181, 72, 167);
/* oklch */ color: oklch(58.0% 0.180 333.0);
Tailwind
colors: {
  custom: {
    50: '#ce81c1',
    500: '#b548a7',
    950: '#000000',
  },
}
SCSS
$custom: #b548a7;
$custom-light: #ce81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b548a7",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 307.706,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.1799,
    "h": 333
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#B548A7
secondary
#93C59A
accent
#D36555
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B548A7

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

Preview Lab → · Contrast checker → · Palette generator →

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