#B54BBC#B54BBC

#B54BBC is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.4% C 0.193 H 325.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B54BBC
RGBrgb(181, 75, 188)
HSLhsl(296, 46%, 52%)
HSVhsv(296, 60%, 74%)
CMYKcmyk(3.7%, 60.1%, 0%, 26.3%)
CIE-LABlab(50.08, 58.03, -39.87)
CIE-LCHlch(50.08, 70.40, 325.51°)
OKLaboklab(59.43% 0.1586 -0.1104)
OKLCHoklch(59.43% 0.193 325.2)
XYZxyz(30.6485, 18.4885, 49.5215)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BBC #52BC4B
analogous
#7D4BBC #B54BBC #BC4B8B
triadic
#B54BBC #BCB54B #4BBCB5
tetradic
#B54BBC #BC7D4B #52BC4B #4B8BBC
square
#B54BBC #BC7D4B #52BC4B #4B8BBC
split-complementary
#B54BBC #8BBC4B #4BBC7D
monochromatic
#622666 #8D3793 #B54BBC #C778CD #DAA4DD

Accessibility & contrast

On white

4.47
#B54BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B54BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BBC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BBC#FFFFFF#000000##000000
##B54BBC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#5F7CB9
Tritanopia (blue-blind)
#B95B7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54bbc;
/* rgb */ color: rgb(181, 75, 188);
/* oklch */ color: oklch(59.4% 0.193 325.2);
Tailwind
colors: {
  custom: {
    50: '#ce84d0',
    500: '#b54bbc',
    950: '#000000',
  },
}
SCSS
$custom: #b54bbc;
$custom-light: #ce84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bbc",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 296.283,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.19325,
    "h": 325.2
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#B54BBC
secondary
#9CCA99
accent
#D5525B
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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