#B54CA9#B54CA9

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

Color values

HEX#B54CA9
RGBrgb(181, 76, 169)
HSLhsl(307, 42%, 50%)
HSVhsv(307, 58%, 71%)
CMYKcmyk(0%, 58%, 6.6%, 29%)
CIE-LABlab(49.32, 54.27, -29.96)
CIE-LCHlch(49.32, 61.99, 331.10°)
OKLaboklab(58.58% 0.1553 -0.0819)
OKLCHoklch(58.58% 0.176 332.2)
XYZxyz(28.8019, 17.8592, 39.4586)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CA9 #4CB558
analogous
#8C4CB5 #B54CA9 #B54C74
triadic
#B54CA9 #A9B54C #4CA9B5
tetradic
#B54CA9 #B58C4C #4CB558 #4C74B5
square
#B54CA9 #B58C4C #4CB558 #4C74B5
split-complementary
#B54CA9 #74B54C #4CB58C
monochromatic
#5F2759 #8B3981 #B54CA9 #C777BE #D9A3D3

Accessibility & contrast

On white

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

On black

4.57
#B54CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B54CA9#FFFFFF#000000##FFFFFF
##B54CA91.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAC
Deuteranopia (green-blind)
#697BA6
Tritanopia (blue-blind)
#BC5473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54ca9;
/* rgb */ color: rgb(181, 76, 169);
/* oklch */ color: oklch(58.6% 0.176 332.2);
Tailwind
colors: {
  custom: {
    50: '#ce84c3',
    500: '#b54ca9',
    950: '#000000',
  },
}
SCSS
$custom: #b54ca9;
$custom-light: #ce84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ca9",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 306.857,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.17556,
    "h": 332.2
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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