#B541BD#B541BD

#B541BD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.208 H 325.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B541BD
RGBrgb(181, 65, 189)
HSLhsl(296, 49%, 50%)
HSVhsv(296, 66%, 74%)
CMYKcmyk(4.2%, 65.6%, 0%, 25.9%)
CIE-LABlab(48.61, 62.43, -42.78)
CIE-LCHlch(48.61, 75.68, 325.58°)
OKLaboklab(58.38% 0.1704 -0.1187)
OKLCHoklch(58.38% 0.208 325.1)
XYZxyz(30.1310, 17.2803, 49.8826)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541BD #49BD41
analogous
#7741BD #B541BD #BD4187
triadic
#B541BD #BDB541 #41BDB5
tetradic
#B541BD #BD7741 #49BD41 #4187BD
square
#B541BD #BD7741 #49BD41 #4187BD
split-complementary
#B541BD #87BD41 #41BD77
monochromatic
#5E2262 #89318F #B541BD #C76ECD #D99CDD

Accessibility & contrast

On white

4.71
#B541BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B541BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541BD#FFFFFF#000000##FFFFFF
##B541BD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#5978BA
Tritanopia (blue-blind)
#B9547A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b541bd;
/* rgb */ color: rgb(181, 65, 189);
/* oklch */ color: oklch(58.4% 0.208 325.1);
Tailwind
colors: {
  custom: {
    50: '#ce7ed1',
    500: '#b541bd',
    950: '#000000',
  },
}
SCSS
$custom: #b541bd;
$custom-light: #ce7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#b541bd",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 296.129,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.2077,
    "h": 325.1
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#B541BD
secondary
#94C991
accent
#D84F58
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B541BD

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

Preview Lab → · Contrast checker → · Palette generator →

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