#B54AC5#B54AC5

#B54AC5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.203 H 322.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B54AC5
RGBrgb(181, 74, 197)
HSLhsl(292, 51%, 53%)
HSVhsv(292, 62%, 77%)
CMYKcmyk(8.1%, 62.4%, 0%, 22.7%)
CIE-LABlab(50.40, 60.11, -44.58)
CIE-LCHlch(50.40, 74.84, 323.44°)
OKLaboklab(59.82% 0.1603 -0.124)
OKLCHoklch(59.82% 0.203 322.3)
XYZxyz(31.5818, 18.7542, 54.7689)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54AC5 #5AC54A
analogous
#774AC5 #B54AC5 #C54A97
triadic
#B54AC5 #C5B54A #4AC5B5
tetradic
#B54AC5 #C5774A #5AC54A #4A97C5
square
#B54AC5 #C5774A #5AC54A #4A97C5
split-complementary
#B54AC5 #97C54A #4AC577
monochromatic
#672471 #91339F #B54AC5 #C878D4 #DBA7E3

Accessibility & contrast

On white

4.42
#B54AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B54AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54AC5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54AC5#FFFFFF#000000##000000
##B54AC51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#5A7CC2
Tritanopia (blue-blind)
#B75D81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54ac5;
/* rgb */ color: rgb(181, 74, 197);
/* oklch */ color: oklch(59.8% 0.203 322.3);
Tailwind
colors: {
  custom: {
    50: '#ce83d7',
    500: '#b54ac5',
    950: '#000000',
  },
}
SCSS
$custom: #b54ac5;
$custom-light: #ce83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ac5",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 292.195,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.20266,
    "h": 322.3
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#B54AC5
secondary
#A2D09B
accent
#DB4D5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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