#B54CA5#B54CA5

#B54CA5 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.4% C 0.172 H 333.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B54CA5
RGBrgb(181, 76, 165)
HSLhsl(309, 42%, 50%)
HSVhsv(309, 58%, 71%)
CMYKcmyk(0%, 58%, 8.8%, 29%)
CIE-LABlab(49.14, 53.60, -27.89)
CIE-LCHlch(49.14, 60.42, 332.51°)
OKLaboklab(58.39% 0.1547 -0.0759)
OKLCHoklch(58.39% 0.172 333.9)
XYZxyz(28.4321, 17.7113, 37.5111)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CA5 #4CB55C
analogous
#904CB5 #B54CA5 #B54C70
triadic
#B54CA5 #A5B54C #4CA5B5
tetradic
#B54CA5 #B5904C #4CB55C #4C70B5
square
#B54CA5 #B5904C #4CB55C #4C70B5
split-complementary
#B54CA5 #70B54C #4CB590
monochromatic
#5F2757 #8B397E #B54CA5 #C777BB #D9A3D1

Accessibility & contrast

On white

4.62
#B54CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B54CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B54CA5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CA5#FFFFFF#000000##FFFFFF
##B54CA51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA8
Deuteranopia (green-blind)
#6B7AA2
Tritanopia (blue-blind)
#BD5371
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54ca5;
/* rgb */ color: rgb(181, 76, 165);
/* oklch */ color: oklch(58.4% 0.172 333.9);
Tailwind
colors: {
  custom: {
    50: '#ce84c0',
    500: '#b54ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b54ca5;
$custom-light: #ce84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ca5",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 309.143,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.17232,
    "h": 333.9
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#B54CA5
secondary
#97C69E
accent
#D16956
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B54CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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