#B54FA8#B54FA8

#B54FA8 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.170 H 332.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B54FA8
RGBrgb(181, 79, 168)
HSLhsl(308, 41%, 51%)
HSVhsv(308, 56%, 71%)
CMYKcmyk(0%, 56.4%, 7.2%, 29%)
CIE-LABlab(49.79, 52.71, -28.65)
CIE-LCHlch(49.79, 59.99, 331.48°)
OKLaboklab(58.91% 0.1512 -0.0781)
OKLCHoklch(58.91% 0.17 332.7)
XYZxyz(28.9199, 18.2449, 39.0366)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FA8 #4FB55C
analogous
#8F4FB5 #B54FA8 #B54F75
triadic
#B54FA8 #A8B54F #4FA8B5
tetradic
#B54FA8 #B58F4F #4FB55C #4F75B5
square
#B54FA8 #B58F4F #4FB55C #4F75B5
split-complementary
#B54FA8 #75B54F #4FB58F
monochromatic
#61295A #8C3B82 #B54FA8 #C77ABD #D9A5D3

Accessibility & contrast

On white

4.52
#B54FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B54FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FA8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FA8#FFFFFF#000000##000000
##B54FA81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAB
Deuteranopia (green-blind)
#6B7CA5
Tritanopia (blue-blind)
#BC5774
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54fa8;
/* rgb */ color: rgb(181, 79, 168);
/* oklch */ color: oklch(58.9% 0.170 332.7);
Tailwind
colors: {
  custom: {
    50: '#ce85c2',
    500: '#b54fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b54fa8;
$custom-light: #ce85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fa8",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 307.647,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.17015,
    "h": 332.7
  },
  "luminance": 0.18243
}

Semantic roles & 50–950 ramp

primary
#B54FA8
secondary
#99C69F
accent
#D16757
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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