#B54AAA#B54AAA

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

Color values

HEX#B54AAA
RGBrgb(181, 74, 170)
HSLhsl(306, 42%, 50%)
HSVhsv(306, 59%, 71%)
CMYKcmyk(0%, 59.1%, 6.1%, 29%)
CIE-LABlab(49.04, 55.34, -31.00)
CIE-LCHlch(49.04, 63.43, 330.75°)
OKLaboklab(58.38% 0.1581 -0.0848)
OKLCHoklch(58.38% 0.179 331.8)
XYZxyz(28.7605, 17.6256, 39.9097)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AAA #4AB555
analogous
#8A4AB5 #B54AAA #B54A75
triadic
#B54AAA #AAB54A #4AAAB5
tetradic
#B54AAA #B58A4A #4AB555 #4A75B5
square
#B54AAA #B58A4A #4AB555 #4A75B5
split-complementary
#B54AAA #75B54A #4AB58A
monochromatic
#5E2658 #8A3881 #B54AAA #C775BE #D9A1D3

Accessibility & contrast

On white

4.64
#B54AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B54AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B54AAA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AAA#FFFFFF#000000##FFFFFF
##B54AAA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#BC5373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b54aaa;
/* rgb */ color: rgb(181, 74, 170);
/* oklch */ color: oklch(58.4% 0.179 331.8);
Tailwind
colors: {
  custom: {
    50: '#ce83c3',
    500: '#b54aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b54aaa;
$custom-light: #ce83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54aaa",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 306.168,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.17938,
    "h": 331.8
  },
  "luminance": 0.17624
}

Semantic roles & 50–950 ramp

primary
#B54AAA
secondary
#95C59A
accent
#D26356
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B54AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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