#B54FA9#B54FA9

#B54FA9 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.171 H 332.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B54FA9
RGBrgb(181, 79, 169)
HSLhsl(307, 41%, 51%)
HSVhsv(307, 56%, 71%)
CMYKcmyk(0%, 56.4%, 6.6%, 29%)
CIE-LABlab(49.84, 52.88, -29.16)
CIE-LCHlch(49.84, 60.39, 331.12°)
OKLaboklab(58.95% 0.1513 -0.0796)
OKLCHoklch(58.95% 0.171 332.2)
XYZxyz(29.0134, 18.2823, 39.5291)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FA9 #4FB55B
analogous
#8E4FB5 #B54FA9 #B54F76
triadic
#B54FA9 #A9B54F #4FA9B5
tetradic
#B54FA9 #B58E4F #4FB55B #4F76B5
square
#B54FA9 #B58E4F #4FB55B #4F76B5
split-complementary
#B54FA9 #76B54F #4FB58E
monochromatic
#61295A #8C3B82 #B54FA9 #C77ABE #D9A5D3

Accessibility & contrast

On white

4.51
#B54FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B54FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FA9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FA9#FFFFFF#000000##000000
##B54FA91.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAC
Deuteranopia (green-blind)
#6B7CA6
Tritanopia (blue-blind)
#BC5775
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54fa9;
/* rgb */ color: rgb(181, 79, 169);
/* oklch */ color: oklch(59.0% 0.171 332.2);
Tailwind
colors: {
  custom: {
    50: '#ce85c3',
    500: '#b54fa9',
    950: '#000000',
  },
}
SCSS
$custom: #b54fa9;
$custom-light: #ce85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fa9",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 307.059,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.17098,
    "h": 332.2
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#B54FA9
secondary
#99C69F
accent
#D16557
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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