#B54BAD#B54BAD

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

Color values

HEX#B54BAD
RGBrgb(181, 75, 173)
HSLhsl(305, 42%, 50%)
HSVhsv(305, 59%, 71%)
CMYKcmyk(0%, 58.6%, 4.4%, 29%)
CIE-LABlab(49.34, 55.39, -32.28)
CIE-LCHlch(49.34, 64.11, 329.77°)
OKLaboklab(58.65% 0.1572 -0.0885)
OKLCHoklch(58.65% 0.18 330.6)
XYZxyz(29.1148, 17.8750, 41.4438)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BAD #4BB553
analogous
#884BB5 #B54BAD #B54B78
triadic
#B54BAD #ADB54B #4BADB5
tetradic
#B54BAD #B5884B #4BB553 #4B78B5
square
#B54BAD #B5884B #4BB553 #4B78B5
split-complementary
#B54BAD #78B54B #4BB588
monochromatic
#5F275A #8A3984 #B54BAD #C776C1 #D9A2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54BAD#FFFFFF#000000##FFFFFF
##B54BAD1.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)
#456CB0
Deuteranopia (green-blind)
#677BAA
Tritanopia (blue-blind)
#BC5575
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54bad;
/* rgb */ color: rgb(181, 75, 173);
/* oklch */ color: oklch(58.7% 0.180 330.6);
Tailwind
colors: {
  custom: {
    50: '#ce83c6',
    500: '#b54bad',
    950: '#000000',
  },
}
SCSS
$custom: #b54bad;
$custom-light: #ce83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bad",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 304.528,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58652,
    "c": 0.18037,
    "h": 330.6
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#B54BAD
secondary
#96C69A
accent
#D26056
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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