#B541B9#B541B9

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

Color values

HEX#B541B9
RGBrgb(181, 65, 185)
HSLhsl(298, 48%, 49%)
HSVhsv(298, 65%, 73%)
CMYKcmyk(2.2%, 64.9%, 0%, 27.5%)
CIE-LABlab(48.40, 61.73, -40.79)
CIE-LCHlch(48.40, 73.99, 326.54°)
OKLaboklab(58.16% 0.1703 -0.113)
OKLCHoklch(58.16% 0.204 326.4)
XYZxyz(29.7028, 17.1090, 47.6274)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541B9 #45B941
analogous
#7941B9 #B541B9 #B94181
triadic
#B541B9 #B9B541 #41B9B5
tetradic
#B541B9 #B97941 #45B941 #4181B9
square
#B541B9 #B97941 #45B941 #4181B9
split-complementary
#B541B9 #81B941 #41B979
monochromatic
#5C215E #89318C #B541B9 #C86CCB #D999DB

Accessibility & contrast

On white

4.75
#B541B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B541B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541B9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541B9#FFFFFF#000000##FFFFFF
##B541B91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BD
Deuteranopia (green-blind)
#5B78B6
Tritanopia (blue-blind)
#BA5278
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b541b9;
/* rgb */ color: rgb(181, 65, 185);
/* oklch */ color: oklch(58.2% 0.204 326.4);
Tailwind
colors: {
  custom: {
    50: '#ce7ece',
    500: '#b541b9',
    950: '#000000',
  },
}
SCSS
$custom: #b541b9;
$custom-light: #ce7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#b541b9",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 298,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.20435,
    "h": 326.4
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#B541B9
secondary
#91C78F
accent
#D85055
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B541B9

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

Preview Lab → · Contrast checker → · Palette generator →

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