#B541AC#B541AC

#B541AC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.194 H 331.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B541AC
RGBrgb(181, 65, 172)
HSLhsl(305, 47%, 48%)
HSVhsv(305, 64%, 71%)
CMYKcmyk(0%, 64.1%, 5%, 29%)
CIE-LABlab(47.73, 59.53, -34.22)
CIE-LCHlch(47.73, 68.66, 330.11°)
OKLaboklab(57.46% 0.1694 -0.094)
OKLCHoklch(57.46% 0.194 331)
XYZxyz(28.3926, 16.5850, 40.7275)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541AC #41B54A
analogous
#8441B5 #B541AC #B54172
triadic
#B541AC #ACB541 #41ACB5
tetradic
#B541AC #B58441 #41B54A #4172B5
square
#B541AC #B58441 #41B54A #4172B5
split-complementary
#B541AC #72B541 #41B584
monochromatic
#5B2156 #883181 #B541AC #C96AC2 #DA97D4

Accessibility & contrast

On white

4.86
#B541AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B541AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541AC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541AC#FFFFFF#000000##FFFFFF
##B541AC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#BC4D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b541ac;
/* rgb */ color: rgb(181, 65, 172);
/* oklch */ color: oklch(57.5% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce7ec5',
    500: '#b541ac',
    950: '#000000',
  },
}
SCSS
$custom: #b541ac;
$custom-light: #ce7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#b541ac",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 304.655,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.19375,
    "h": 331
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#B541AC
secondary
#8CC591
accent
#D75B51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B541AC

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

Preview Lab → · Contrast checker → · Palette generator →

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