#B54BB5#B54BB5

#B54BB5 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.187 H 327.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B54BB5
RGBrgb(181, 75, 181)
HSLhsl(300, 42%, 50%)
HSVhsv(300, 59%, 71%)
CMYKcmyk(0%, 58.6%, 0%, 29%)
CIE-LABlab(49.73, 56.78, -36.35)
CIE-LCHlch(49.73, 67.42, 327.37°)
OKLaboklab(59.06% 0.1581 -0.1002)
OKLCHoklch(59.06% 0.187 327.6)
XYZxyz(29.9122, 18.1940, 45.6434)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BB5 #4BB54B
analogous
#804BB5 #B54BB5 #B54B80
triadic
#B54BB5 #B5B54B #4BB5B5
tetradic
#B54BB5 #B5804B #4BB54B #4B80B5
square
#B54BB5 #B5804B #4BB54B #4B80B5
split-complementary
#B54BB5 #80B54B #4BB580
monochromatic
#5F275F #8A398A #B54BB5 #C776C7 #D9A2D9

Accessibility & contrast

On white

4.53
#B54BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B54BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BB5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BB5#FFFFFF#000000##000000
##B54BB51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#BA5879
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54bb5;
/* rgb */ color: rgb(181, 75, 181);
/* oklch */ color: oklch(59.1% 0.187 327.6);
Tailwind
colors: {
  custom: {
    50: '#ce84cb',
    500: '#b54bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b54bb5;
$custom-light: #ce84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bb5",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 300,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.18715,
    "h": 327.6
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#B54BB5
secondary
#96C696
accent
#D25656
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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