#B541B4#B541B4

#B541B4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.200 H 328.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B541B4
RGBrgb(181, 65, 180)
HSLhsl(301, 47%, 48%)
HSVhsv(301, 64%, 71%)
CMYKcmyk(0%, 64.1%, 0.6%, 29%)
CIE-LABlab(48.14, 60.87, -38.28)
CIE-LCHlch(48.14, 71.91, 327.83°)
OKLaboklab(57.89% 0.17 -0.1057)
OKLCHoklch(57.89% 0.2 328.1)
XYZxyz(29.1842, 16.9016, 44.8964)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541B4 #41B542
analogous
#7C41B5 #B541B4 #B5417A
triadic
#B541B4 #B4B541 #41B4B5
tetradic
#B541B4 #B57C41 #41B542 #417AB5
square
#B541B4 #B57C41 #41B542 #417AB5
split-complementary
#B541B4 #7AB541 #41B57C
monochromatic
#5B215A #883187 #B541B4 #C96AC9 #DA97D9

Accessibility & contrast

On white

4.79
#B541B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B541B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541B4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541B4#FFFFFF#000000##FFFFFF
##B541B41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B7
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#BB5075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b541b4;
/* rgb */ color: rgb(181, 65, 180);
/* oklch */ color: oklch(57.9% 0.200 328.1);
Tailwind
colors: {
  custom: {
    50: '#ce7ecb',
    500: '#b541b4',
    950: '#000000',
  },
}
SCSS
$custom: #b541b4;
$custom-light: #ce7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#b541b4",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 300.517,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.20022,
    "h": 328.1
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#B541B4
secondary
#8CC58D
accent
#D75251
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B541B4

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

Preview Lab → · Contrast checker → · Palette generator →

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