#B54CA7#B54CA7

#B54CA7 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.174 H 333.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B54CA7
RGBrgb(181, 76, 167)
HSLhsl(308, 42%, 50%)
HSVhsv(308, 58%, 71%)
CMYKcmyk(0%, 58%, 7.7%, 29%)
CIE-LABlab(49.23, 53.93, -28.93)
CIE-LCHlch(49.23, 61.20, 331.79°)
OKLaboklab(58.48% 0.155 -0.0789)
OKLCHoklch(58.48% 0.174 333)
XYZxyz(28.6156, 17.7847, 38.4773)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CA7 #4CB55A
analogous
#8E4CB5 #B54CA7 #B54C72
triadic
#B54CA7 #A7B54C #4CA7B5
tetradic
#B54CA7 #B58E4C #4CB55A #4C72B5
square
#B54CA7 #B58E4C #4CB55A #4C72B5
split-complementary
#B54CA7 #72B54C #4CB58E
monochromatic
#5F2758 #8B3980 #B54CA7 #C777BC #D9A3D2

Accessibility & contrast

On white

4.61
#B54CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B54CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B54CA7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CA7#FFFFFF#000000##FFFFFF
##B54CA71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BAA
Deuteranopia (green-blind)
#6A7BA4
Tritanopia (blue-blind)
#BC5472
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54ca7;
/* rgb */ color: rgb(181, 76, 167);
/* oklch */ color: oklch(58.5% 0.174 333.0);
Tailwind
colors: {
  custom: {
    50: '#ce84c1',
    500: '#b54ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b54ca7;
$custom-light: #ce84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ca7",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 308,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.17393,
    "h": 333
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#B54CA7
secondary
#97C69D
accent
#D16756
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B54CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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