#B548B9#B548B9

#B548B9 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.195 H 326.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B548B9
RGBrgb(181, 72, 185)
HSLhsl(298, 45%, 50%)
HSVhsv(298, 61%, 73%)
CMYKcmyk(2.2%, 61.1%, 0%, 27.5%)
CIE-LABlab(49.45, 58.80, -39.12)
CIE-LCHlch(49.45, 70.63, 326.36°)
OKLaboklab(58.92% 0.1621 -0.1082)
OKLCHoklch(58.92% 0.195 326.3)
XYZxyz(30.1298, 17.9631, 47.7698)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548B9 #4CB948
analogous
#7C48B9 #B548B9 #B94884
triadic
#B548B9 #B9B548 #48B9B5
tetradic
#B548B9 #B97C48 #4CB948 #4884B9
square
#B548B9 #B97C48 #4CB948 #4884B9
split-complementary
#B548B9 #84B948 #48B97C
monochromatic
#5F2561 #8B368E #B548B9 #C774CA #D9A1DB

Accessibility & contrast

On white

4.57
#B548B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B548B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548B9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548B9#FFFFFF#000000##000000
##B548B91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBC
Deuteranopia (green-blind)
#5F7AB6
Tritanopia (blue-blind)
#BA577A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b548b9;
/* rgb */ color: rgb(181, 72, 185);
/* oklch */ color: oklch(58.9% 0.195 326.3);
Tailwind
colors: {
  custom: {
    50: '#ce82ce',
    500: '#b548b9',
    950: '#000000',
  },
}
SCSS
$custom: #b548b9;
$custom-light: #ce82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b548b9",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 297.876,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58923,
    "c": 0.19489,
    "h": 326.3
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#B548B9
secondary
#97C895
accent
#D45358
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B548B9

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

Preview Lab → · Contrast checker → · Palette generator →

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