#B541BC#B541BC

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

Color values

HEX#B541BC
RGBrgb(181, 65, 188)
HSLhsl(297, 49%, 50%)
HSVhsv(297, 65%, 74%)
CMYKcmyk(3.7%, 65.4%, 0%, 26.3%)
CIE-LABlab(48.56, 62.25, -42.28)
CIE-LCHlch(48.56, 75.26, 325.81°)
OKLaboklab(58.33% 0.1704 -0.1173)
OKLCHoklch(58.33% 0.207 325.5)
XYZxyz(30.0228, 17.2370, 49.3129)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541BC #48BC41
analogous
#7741BC #B541BC #BC4186
triadic
#B541BC #BCB541 #41BCB5
tetradic
#B541BC #BC7741 #48BC41 #4186BC
square
#B541BC #BC7741 #48BC41 #4186BC
split-complementary
#B541BC #86BC41 #41BC77
monochromatic
#5D2261 #89318F #B541BC #C76ECD #D99BDC

Accessibility & contrast

On white

4.72
#B541BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B541BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541BC#FFFFFF#000000##FFFFFF
##B541BC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6AC0
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#B95379
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b541bc;
/* rgb */ color: rgb(181, 65, 188);
/* oklch */ color: oklch(58.3% 0.207 325.5);
Tailwind
colors: {
  custom: {
    50: '#ce7ed1',
    500: '#b541bc',
    950: '#000000',
  },
}
SCSS
$custom: #b541bc;
$custom-light: #ce7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#b541bc",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 296.585,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.20686,
    "h": 325.5
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B541BC

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

Preview Lab → · Contrast checker → · Palette generator →

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