#B548AF#B548AF

#B548AF is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.186 H 329.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B548AF
RGBrgb(181, 72, 175)
HSLhsl(303, 43%, 50%)
HSVhsv(303, 60%, 71%)
CMYKcmyk(0%, 60.2%, 3.3%, 29%)
CIE-LABlab(48.95, 57.07, -34.07)
CIE-LCHlch(48.95, 66.46, 329.17°)
OKLaboklab(58.4% 0.1612 -0.0936)
OKLCHoklch(58.4% 0.186 329.9)
XYZxyz(29.1111, 17.5556, 42.4044)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548AF #48B54E
analogous
#8548B5 #B548AF #B54878
triadic
#B548AF #AFB548 #48AFB5
tetradic
#B548AF #B58548 #48B54E #4878B5
square
#B548AF #B58548 #48B54E #4878B5
split-complementary
#B548AF #78B548 #48B585
monochromatic
#5D255A #893785 #B548AF #C773C3 #D99FD6

Accessibility & contrast

On white

4.66
#B548AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B548AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B548AF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548AF#FFFFFF#000000##FFFFFF
##B548AF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#BB5375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b548af;
/* rgb */ color: rgb(181, 72, 175);
/* oklch */ color: oklch(58.4% 0.186 329.9);
Tailwind
colors: {
  custom: {
    50: '#ce82c7',
    500: '#b548af',
    950: '#000000',
  },
}
SCSS
$custom: #b548af;
$custom-light: #ce82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b548af",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 303.303,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.18642,
    "h": 329.9
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#B548AF
secondary
#93C596
accent
#D35C55
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B548AF

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

Preview Lab → · Contrast checker → · Palette generator →

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