#B541B8#B541B8

#B541B8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.1% C 0.204 H 326.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B541B8
RGBrgb(181, 65, 184)
HSLhsl(298, 48%, 49%)
HSVhsv(298, 65%, 72%)
CMYKcmyk(1.6%, 64.7%, 0%, 27.8%)
CIE-LABlab(48.34, 61.56, -40.29)
CIE-LCHlch(48.34, 73.57, 326.79°)
OKLaboklab(58.1% 0.1702 -0.1115)
OKLCHoklch(58.1% 0.204 326.8)
XYZxyz(29.5976, 17.0670, 47.0734)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541B8 #44B841
analogous
#7A41B8 #B541B8 #B84180
triadic
#B541B8 #B8B541 #41B8B5
tetradic
#B541B8 #B87A41 #44B841 #4180B8
square
#B541B8 #B87A41 #44B841 #4180B8
split-complementary
#B541B8 #80B841 #41B87A
monochromatic
#5C215E #89318B #B541B8 #C86BCB #D999DB

Accessibility & contrast

On white

4.76
#B541B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B541B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541B8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541B8#FFFFFF#000000##FFFFFF
##B541B81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BC
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#BA5277
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b541b8;
/* rgb */ color: rgb(181, 65, 184);
/* oklch */ color: oklch(58.1% 0.204 326.8);
Tailwind
colors: {
  custom: {
    50: '#ce7ece',
    500: '#b541b8',
    950: '#000000',
  },
}
SCSS
$custom: #b541b8;
$custom-light: #ce7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#b541b8",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 298.487,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.20352,
    "h": 326.8
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#B541B8
secondary
#90C78E
accent
#D75054
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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