#B54AB2#B54AB2

#B54AB2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.186 H 328.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B54AB2
RGBrgb(181, 74, 178)
HSLhsl(302, 42%, 50%)
HSVhsv(302, 59%, 71%)
CMYKcmyk(0%, 59.1%, 1.7%, 29%)
CIE-LABlab(49.42, 56.70, -35.09)
CIE-LCHlch(49.42, 66.68, 328.25°)
OKLaboklab(58.79% 0.159 -0.0966)
OKLCHoklch(58.79% 0.186 328.7)
XYZxyz(29.5404, 17.9376, 44.0172)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AB2 #4AB54D
analogous
#824AB5 #B54AB2 #B54A7D
triadic
#B54AB2 #B2B54A #4AB2B5
tetradic
#B54AB2 #B5824A #4AB54D #4A7DB5
square
#B54AB2 #B5824A #4AB54D #4A7DB5
split-complementary
#B54AB2 #7DB54A #4AB582
monochromatic
#5E265D #8A3887 #B54AB2 #C775C4 #D9A1D7

Accessibility & contrast

On white

4.58
#B54AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B54AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AB2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AB2#FFFFFF#000000##000000
##B54AB21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#BB5677
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54ab2;
/* rgb */ color: rgb(181, 74, 178);
/* oklch */ color: oklch(58.8% 0.186 328.7);
Tailwind
colors: {
  custom: {
    50: '#ce83c9',
    500: '#b54ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b54ab2;
$custom-light: #ce83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ab2",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 301.682,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.18604,
    "h": 328.7
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#B54AB2
secondary
#95C597
accent
#D25A56
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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