#B541BB#B541BB

#B541BB is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.206 H 325.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B541BB
RGBrgb(181, 65, 187)
HSLhsl(297, 48%, 49%)
HSVhsv(297, 65%, 73%)
CMYKcmyk(3.2%, 65.2%, 0%, 26.7%)
CIE-LABlab(48.50, 62.08, -41.79)
CIE-LCHlch(48.50, 74.83, 326.05°)
OKLaboklab(58.27% 0.1704 -0.1159)
OKLCHoklch(58.27% 0.206 325.8)
XYZxyz(29.9154, 17.1941, 48.7472)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541BB #47BB41
analogous
#7841BB #B541BB #BB4184
triadic
#B541BB #BBB541 #41BBB5
tetradic
#B541BB #BB7841 #47BB41 #4184BB
square
#B541BB #BB7841 #47BB41 #4184BB
split-complementary
#B541BB #84BB41 #41BB78
monochromatic
#5D2160 #89318E #B541BB #C86DCC #D99ADC

Accessibility & contrast

On white

4.73
#B541BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B541BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541BB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541BB#FFFFFF#000000##FFFFFF
##B541BB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#B95379
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b541bb;
/* rgb */ color: rgb(181, 65, 187);
/* oklch */ color: oklch(58.3% 0.206 325.8);
Tailwind
colors: {
  custom: {
    50: '#ce7ed0',
    500: '#b541bb',
    950: '#000000',
  },
}
SCSS
$custom: #b541bb;
$custom-light: #ce7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#b541bb",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 297.049,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5827,
    "c": 0.20602,
    "h": 325.8
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#B541BB
secondary
#93C890
accent
#D85057
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B541BB

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

Preview Lab → · Contrast checker → · Palette generator →

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