#B541AE#B541AE

#B541AE is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.195 H 330.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B541AE
RGBrgb(181, 65, 174)
HSLhsl(304, 47%, 48%)
HSVhsv(304, 64%, 71%)
CMYKcmyk(0%, 64.1%, 3.9%, 29%)
CIE-LABlab(47.83, 59.86, -35.24)
CIE-LCHlch(47.83, 69.46, 329.51°)
OKLaboklab(57.57% 0.1696 -0.0969)
OKLCHoklch(57.57% 0.195 330.3)
XYZxyz(28.5862, 16.6624, 41.7467)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541AE #41B548
analogous
#8241B5 #B541AE #B54174
triadic
#B541AE #AEB541 #41AEB5
tetradic
#B541AE #B58241 #41B548 #4174B5
square
#B541AE #B58241 #41B548 #4174B5
split-complementary
#B541AE #74B541 #41B582
monochromatic
#5B2157 #883183 #B541AE #C96AC4 #DA97D6

Accessibility & contrast

On white

4.85
#B541AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B541AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B541AE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541AE#FFFFFF#000000##FFFFFF
##B541AE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#BC4E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b541ae;
/* rgb */ color: rgb(181, 65, 174);
/* oklch */ color: oklch(57.6% 0.195 330.3);
Tailwind
colors: {
  custom: {
    50: '#ce7ec6',
    500: '#b541ae',
    950: '#000000',
  },
}
SCSS
$custom: #b541ae;
$custom-light: #ce7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#b541ae",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 303.621,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.19535,
    "h": 330.3
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#B541AE
secondary
#8CC590
accent
#D75951
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B541AE

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

Preview Lab → · Contrast checker → · Palette generator →

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