#B548AA#B548AA

#B548AA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.182 H 331.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B548AA
RGBrgb(181, 72, 170)
HSLhsl(306, 43%, 50%)
HSVhsv(306, 60%, 71%)
CMYKcmyk(0%, 60.2%, 6.1%, 29%)
CIE-LABlab(48.71, 56.23, -31.50)
CIE-LCHlch(48.71, 64.45, 330.74°)
OKLaboklab(58.15% 0.1606 -0.0862)
OKLCHoklch(58.15% 0.182 331.8)
XYZxyz(28.6291, 17.3628, 39.8659)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548AA #48B553
analogous
#8A48B5 #B548AA #B54874
triadic
#B548AA #AAB548 #48AAB5
tetradic
#B548AA #B58A48 #48B553 #4874B5
square
#B548AA #B58A48 #48B553 #4874B5
split-complementary
#B548AA #74B548 #48B58A
monochromatic
#5D2558 #893781 #B548AA #C773BF #D99FD3

Accessibility & contrast

On white

4.70
#B548AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B548AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B548AA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548AA#FFFFFF#000000##FFFFFF
##B548AA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#BC5272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b548aa;
/* rgb */ color: rgb(181, 72, 170);
/* oklch */ color: oklch(58.1% 0.182 331.8);
Tailwind
colors: {
  custom: {
    50: '#ce82c3',
    500: '#b548aa',
    950: '#000000',
  },
}
SCSS
$custom: #b548aa;
$custom-light: #ce82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b548aa",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 306.055,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.18232,
    "h": 331.8
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#B548AA
secondary
#93C599
accent
#D36255
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B548AA

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

Preview Lab → · Contrast checker → · Palette generator →

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