#B541BA#B541BA

#B541BA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.205 H 326.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B541BA
RGBrgb(181, 65, 186)
HSLhsl(298, 48%, 49%)
HSVhsv(298, 65%, 73%)
CMYKcmyk(2.7%, 65.1%, 0%, 27.1%)
CIE-LABlab(48.45, 61.90, -41.29)
CIE-LCHlch(48.45, 74.41, 326.30°)
OKLaboklab(58.22% 0.1703 -0.1144)
OKLCHoklch(58.22% 0.205 326.1)
XYZxyz(29.8087, 17.1514, 48.1853)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541BA #46BA41
analogous
#7941BA #B541BA #BA4183
triadic
#B541BA #BAB541 #41BAB5
tetradic
#B541BA #BA7941 #46BA41 #4183BA
square
#B541BA #BA7941 #46BA41 #4183BA
split-complementary
#B541BA #83BA41 #41BA79
monochromatic
#5D215F #89318D #B541BA #C86CCC #D99ADC

Accessibility & contrast

On white

4.74
#B541BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B541BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541BA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541BA#FFFFFF#000000##FFFFFF
##B541BA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#BA5378
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b541ba;
/* rgb */ color: rgb(181, 65, 186);
/* oklch */ color: oklch(58.2% 0.205 326.1);
Tailwind
colors: {
  custom: {
    50: '#ce7ecf',
    500: '#b541ba',
    950: '#000000',
  },
}
SCSS
$custom: #b541ba;
$custom-light: #ce7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#b541ba",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 297.521,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.20518,
    "h": 326.1
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#B541BA
secondary
#92C88F
accent
#D85056
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B541BA

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

Preview Lab → · Contrast checker → · Palette generator →

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