#B54CBC#B54CBC

#B54CBC is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.6% C 0.192 H 325.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B54CBC
RGBrgb(181, 76, 188)
HSLhsl(296, 46%, 52%)
HSVhsv(296, 60%, 74%)
CMYKcmyk(3.7%, 59.6%, 0%, 26.3%)
CIE-LABlab(50.25, 57.58, -39.61)
CIE-LCHlch(50.25, 69.89, 325.47°)
OKLaboklab(59.55% 0.1574 -0.1096)
OKLCHoklch(59.55% 0.192 325.1)
XYZxyz(30.7169, 18.6252, 49.5443)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CBC #53BC4C
analogous
#7D4CBC #B54CBC #BC4C8B
triadic
#B54CBC #BCB54C #4CBCB5
tetradic
#B54CBC #BC7D4C #53BC4C #4C8BBC
square
#B54CBC #BC7D4C #53BC4C #4C8BBC
split-complementary
#B54CBC #8BBC4C #4CBC7D
monochromatic
#632767 #8E3794 #B54CBC #C779CD #DAA5DD

Accessibility & contrast

On white

4.44
#B54CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B54CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CBC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CBC#FFFFFF#000000##000000
##B54CBC1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#B95B7D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54cbc;
/* rgb */ color: rgb(181, 76, 188);
/* oklch */ color: oklch(59.6% 0.192 325.1);
Tailwind
colors: {
  custom: {
    50: '#ce84d0',
    500: '#b54cbc',
    950: '#000000',
  },
}
SCSS
$custom: #b54cbc;
$custom-light: #ce84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cbc",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 296.25,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59551,
    "c": 0.19181,
    "h": 325.1
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#B54CBC
secondary
#9CCA99
accent
#D5535B
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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