#B548B7#B548B7

#B548B7 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.193 H 327.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B548B7
RGBrgb(181, 72, 183)
HSLhsl(299, 44%, 50%)
HSVhsv(299, 61%, 72%)
CMYKcmyk(1.1%, 60.7%, 0%, 28.2%)
CIE-LABlab(49.35, 58.45, -38.12)
CIE-LCHlch(49.35, 69.78, 326.89°)
OKLaboklab(58.82% 0.162 -0.1053)
OKLCHoklch(58.82% 0.193 327)
XYZxyz(29.9202, 17.8793, 46.6657)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548B7 #4AB748
analogous
#7E48B7 #B548B7 #B74881
triadic
#B548B7 #B7B548 #48B7B5
tetradic
#B548B7 #B77E48 #4AB748 #4881B7
square
#B548B7 #B77E48 #4AB748 #4881B7
split-complementary
#B548B7 #81B748 #48B77E
monochromatic
#5E255F #8A378B #B548B7 #C774C8 #D9A0DA

Accessibility & contrast

On white

4.59
#B548B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B548B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B548B7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548B7#FFFFFF#000000##FFFFFF
##B548B71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#BA5679
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b548b7;
/* rgb */ color: rgb(181, 72, 183);
/* oklch */ color: oklch(58.8% 0.193 327.0);
Tailwind
colors: {
  custom: {
    50: '#ce82cd',
    500: '#b548b7',
    950: '#000000',
  },
}
SCSS
$custom: #b548b7;
$custom-light: #ce82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b548b7",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 298.919,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.58816,
    "c": 0.19317,
    "h": 327
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#B548B7
secondary
#95C695
accent
#D35557
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B548B7

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

Preview Lab → · Contrast checker → · Palette generator →

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