#B548BA#B548BA

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

Color values

HEX#B548BA
RGBrgb(181, 72, 186)
HSLhsl(297, 45%, 51%)
HSVhsv(297, 61%, 73%)
CMYKcmyk(2.7%, 61.3%, 0%, 27.1%)
CIE-LABlab(49.50, 58.98, -39.62)
CIE-LCHlch(49.50, 71.06, 326.11°)
OKLaboklab(58.98% 0.1622 -0.1096)
OKLCHoklch(58.98% 0.196 325.9)
XYZxyz(30.2357, 18.0055, 48.3277)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548BA #4DBA48
analogous
#7C48BA #B548BA #BA4886
triadic
#B548BA #BAB548 #48BAB5
tetradic
#B548BA #BA7C48 #4DBA48 #4886BA
square
#B548BA #BA7C48 #4DBA48 #4886BA
split-complementary
#B548BA #86BA48 #48BA7C
monochromatic
#602562 #8B368F #B548BA #C774CB #D9A1DC

Accessibility & contrast

On white

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

On black

4.60
#B548BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548BA#FFFFFF#000000##000000
##B548BA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#5F7AB7
Tritanopia (blue-blind)
#B9587A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b548ba;
/* rgb */ color: rgb(181, 72, 186);
/* oklch */ color: oklch(59.0% 0.196 325.9);
Tailwind
colors: {
  custom: {
    50: '#ce82cf',
    500: '#b548ba',
    950: '#000000',
  },
}
SCSS
$custom: #b548ba;
$custom-light: #ce82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b548ba",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 297.368,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58977,
    "c": 0.19575,
    "h": 325.9
  },
  "luminance": 0.18004
}

Semantic roles & 50–950 ramp

primary
#B548BA
secondary
#98C896
accent
#D55359
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B548BA

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

Preview Lab → · Contrast checker → · Palette generator →

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