#B54CB5#B54CB5

#B54CB5 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.186 H 327.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B54CB5
RGBrgb(181, 76, 181)
HSLhsl(300, 42%, 50%)
HSVhsv(300, 58%, 71%)
CMYKcmyk(0%, 58%, 0%, 29%)
CIE-LABlab(49.89, 56.33, -36.10)
CIE-LCHlch(49.89, 66.90, 327.35°)
OKLaboklab(59.18% 0.1568 -0.0995)
OKLCHoklch(59.18% 0.186 327.6)
XYZxyz(29.9805, 18.3307, 45.6662)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CB5 #4CB54C
analogous
#804CB5 #B54CB5 #B54C80
triadic
#B54CB5 #B5B54C #4CB5B5
tetradic
#B54CB5 #B5804C #4CB54C #4C80B5
square
#B54CB5 #B5804C #4CB54C #4C80B5
split-complementary
#B54CB5 #80B54C #4CB580
monochromatic
#5F275F #8B398B #B54CB5 #C777C7 #D9A3D9

Accessibility & contrast

On white

4.50
#B54CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B54CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CB5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CB5#FFFFFF#000000##000000
##B54CB51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#406EB8
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#BA5979
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54cb5;
/* rgb */ color: rgb(181, 76, 181);
/* oklch */ color: oklch(59.2% 0.186 327.6);
Tailwind
colors: {
  custom: {
    50: '#ce84cb',
    500: '#b54cb5',
    950: '#000000',
  },
}
SCSS
$custom: #b54cb5;
$custom-light: #ce84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cb5",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 300,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.18568,
    "h": 327.6
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#B54CB5
secondary
#97C697
accent
#D15656
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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