#B54ABA#B54ABA

#B54ABA is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.193 H 325.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B54ABA
RGBrgb(181, 74, 186)
HSLhsl(297, 45%, 51%)
HSVhsv(297, 60%, 73%)
CMYKcmyk(2.7%, 60.2%, 0%, 27.1%)
CIE-LABlab(49.82, 58.11, -39.12)
CIE-LCHlch(49.82, 70.05, 326.05°)
OKLaboklab(59.21% 0.1597 -0.1082)
OKLCHoklch(59.21% 0.193 325.9)
XYZxyz(30.3671, 18.2683, 48.3715)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54ABA #4FBA4A
analogous
#7D4ABA #B54ABA #BA4A87
triadic
#B54ABA #BAB54A #4ABAB5
tetradic
#B54ABA #BA7D4A #4FBA4A #4A87BA
square
#B54ABA #BA7D4A #4FBA4A #4A87BA
split-complementary
#B54ABA #87BA4A #4ABA7D
monochromatic
#612664 #8C3790 #B54ABA #C776CB #D9A3DC

Accessibility & contrast

On white

4.51
#B54ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B54ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54ABA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54ABA#FFFFFF#000000##000000
##B54ABA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#B9597B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54aba;
/* rgb */ color: rgb(181, 74, 186);
/* oklch */ color: oklch(59.2% 0.193 325.9);
Tailwind
colors: {
  custom: {
    50: '#ce83cf',
    500: '#b54aba',
    950: '#000000',
  },
}
SCSS
$custom: #b54aba;
$custom-light: #ce83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b54aba",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 297.321,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.19292,
    "h": 325.9
  },
  "luminance": 0.18266
}

Semantic roles & 50–950 ramp

primary
#B54ABA
secondary
#99C997
accent
#D55359
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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