#B54DAB#B54DAB

#B54DAB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.176 H 331.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B54DAB
RGBrgb(181, 77, 171)
HSLhsl(306, 41%, 51%)
HSVhsv(306, 57%, 71%)
CMYKcmyk(0%, 57.5%, 5.5%, 29%)
CIE-LABlab(49.59, 54.14, -30.73)
CIE-LCHlch(49.59, 62.26, 330.42°)
OKLaboklab(58.8% 0.1543 -0.0841)
OKLCHoklch(58.8% 0.176 331.4)
XYZxyz(29.0605, 18.0738, 40.4781)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DAB #4DB557
analogous
#8B4DB5 #B54DAB #B54D77
triadic
#B54DAB #ABB54D #4DABB5
tetradic
#B54DAB #B58B4D #4DB557 #4D77B5
square
#B54DAB #B58B4D #4DB557 #4D77B5
split-complementary
#B54DAB #77B54D #4DB58B
monochromatic
#60285A #8B3A83 #B54DAB #C778BF #D9A3D4

Accessibility & contrast

On white

4.55
#B54DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B54DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DAB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DAB#FFFFFF#000000##000000
##B54DAB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#486DAE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#BC5675
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54dab;
/* rgb */ color: rgb(181, 77, 171);
/* oklch */ color: oklch(58.8% 0.176 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce84c4',
    500: '#b54dab',
    950: '#000000',
  },
}
SCSS
$custom: #b54dab;
$custom-light: #ce84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dab",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 305.769,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.17569,
    "h": 331.4
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#B54DAB
secondary
#98C69C
accent
#D16257
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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