#B54CBB#B54CBB

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

Color values

HEX#B54CBB
RGBrgb(181, 76, 187)
HSLhsl(297, 45%, 52%)
HSVhsv(297, 59%, 73%)
CMYKcmyk(3.2%, 59.4%, 0%, 26.7%)
CIE-LABlab(50.19, 57.40, -39.11)
CIE-LCHlch(50.19, 69.46, 325.73°)
OKLaboklab(59.5% 0.1573 -0.1082)
OKLCHoklch(59.5% 0.191 325.5)
XYZxyz(30.6095, 18.5823, 48.9785)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CBB #52BB4C
analogous
#7E4CBB #B54CBB #BB4C8A
triadic
#B54CBB #BBB54C #4CBBB5
tetradic
#B54CBB #BB7E4C #52BB4C #4C8ABB
square
#B54CBB #BB7E4C #52BB4C #4C8ABB
split-complementary
#B54CBB #8ABB4C #4CBB7E
monochromatic
#622766 #8D3892 #B54CBB #C778CC #DAA5DD

Accessibility & contrast

On white

4.45
#B54CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54CBB#FFFFFF#000000##000000
##B54CBB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#B95B7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54cbb;
/* rgb */ color: rgb(181, 76, 187);
/* oklch */ color: oklch(59.5% 0.191 325.5);
Tailwind
colors: {
  custom: {
    50: '#ce84d0',
    500: '#b54cbb',
    950: '#000000',
  },
}
SCSS
$custom: #b54cbb;
$custom-light: #ce84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cbb",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 296.757,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.19094,
    "h": 325.5
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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