#B54BB1#B54BB1

#B54BB1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.184 H 329.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B54BB1
RGBrgb(181, 75, 177)
HSLhsl(302, 42%, 50%)
HSVhsv(302, 59%, 71%)
CMYKcmyk(0%, 58.6%, 2.2%, 29%)
CIE-LABlab(49.54, 56.08, -34.32)
CIE-LCHlch(49.54, 65.75, 328.53°)
OKLaboklab(58.85% 0.1577 -0.0944)
OKLCHoklch(58.85% 0.184 329.1)
XYZxyz(29.5076, 18.0322, 43.5128)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BB1 #4BB54F
analogous
#844BB5 #B54BB1 #B54B7C
triadic
#B54BB1 #B1B54B #4BB1B5
tetradic
#B54BB1 #B5844B #4BB54F #4B7CB5
square
#B54BB1 #B5844B #4BB54F #4B7CB5
split-complementary
#B54BB1 #7CB54B #4BB584
monochromatic
#5F275D #8A3987 #B54BB1 #C776C4 #D9A2D7

Accessibility & contrast

On white

4.56
#B54BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B54BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BB1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BB1#FFFFFF#000000##000000
##B54BB11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#BB5677
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54bb1;
/* rgb */ color: rgb(181, 75, 177);
/* oklch */ color: oklch(58.9% 0.184 329.1);
Tailwind
colors: {
  custom: {
    50: '#ce83c8',
    500: '#b54bb1',
    950: '#000000',
  },
}
SCSS
$custom: #b54bb1;
$custom-light: #ce83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bb1",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 302.264,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.18373,
    "h": 329.1
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#B54BB1
secondary
#96C698
accent
#D25B56
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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