#B54CAA#B54CAA

#B54CAA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.176 H 331.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B54CAA
RGBrgb(181, 76, 170)
HSLhsl(306, 42%, 50%)
HSVhsv(306, 58%, 71%)
CMYKcmyk(0%, 58%, 6.1%, 29%)
CIE-LABlab(49.37, 54.43, -30.48)
CIE-LCHlch(49.37, 62.39, 330.76°)
OKLaboklab(58.63% 0.1555 -0.0833)
OKLCHoklch(58.63% 0.176 331.8)
XYZxyz(28.8961, 17.8969, 39.9549)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CAA #4CB557
analogous
#8C4CB5 #B54CAA #B54C75
triadic
#B54CAA #AAB54C #4CAAB5
tetradic
#B54CAA #B58C4C #4CB557 #4C75B5
square
#B54CAA #B58C4C #4CB557 #4C75B5
split-complementary
#B54CAA #75B54C #4CB58C
monochromatic
#5F2759 #8B3982 #B54CAA #C777BF #D9A3D3

Accessibility & contrast

On white

4.59
#B54CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B54CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B54CAA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CAA#FFFFFF#000000##FFFFFF
##B54CAA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#BC5574
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54caa;
/* rgb */ color: rgb(181, 76, 170);
/* oklch */ color: oklch(58.6% 0.176 331.8);
Tailwind
colors: {
  custom: {
    50: '#ce84c3',
    500: '#b54caa',
    950: '#000000',
  },
}
SCSS
$custom: #b54caa;
$custom-light: #ce84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54caa",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 306.286,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.17639,
    "h": 331.8
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#B54CAA
secondary
#97C69C
accent
#D16356
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B54CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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