#B548BB#B548BB

#B548BB is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.197 H 325.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B548BB
RGBrgb(181, 72, 187)
HSLhsl(297, 46%, 51%)
HSVhsv(297, 61%, 73%)
CMYKcmyk(3.2%, 61.5%, 0%, 26.7%)
CIE-LABlab(49.55, 59.16, -40.12)
CIE-LCHlch(49.55, 71.48, 325.85°)
OKLaboklab(59.03% 0.1622 -0.1111)
OKLCHoklch(59.03% 0.197 325.6)
XYZxyz(30.3424, 18.0482, 48.8895)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548BB #4EBB48
analogous
#7B48BB #B548BB #BB4887
triadic
#B548BB #BBB548 #48BBB5
tetradic
#B548BB #BB7B48 #4EBB48 #4887BB
square
#B548BB #BB7B48 #4EBB48 #4887BB
split-complementary
#B548BB #87BB48 #48BB7B
monochromatic
#602564 #8B3690 #B548BB #C775CC #D9A1DC

Accessibility & contrast

On white

4.56
#B548BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B548BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548BB#FFFFFF#000000##000000
##B548BB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#B9587B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b548bb;
/* rgb */ color: rgb(181, 72, 187);
/* oklch */ color: oklch(59.0% 0.197 325.6);
Tailwind
colors: {
  custom: {
    50: '#ce82d0',
    500: '#b548bb',
    950: '#000000',
  },
}
SCSS
$custom: #b548bb;
$custom-light: #ce82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b548bb",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 296.87,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.19661,
    "h": 325.6
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#B548BB
secondary
#99C996
accent
#D55259
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B548BB

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

Preview Lab → · Contrast checker → · Palette generator →

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