#B54BBB#B54BBB

#B54BBB is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.4% C 0.192 H 325.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B54BBB
RGBrgb(181, 75, 187)
HSLhsl(297, 45%, 51%)
HSVhsv(297, 60%, 73%)
CMYKcmyk(3.2%, 59.9%, 0%, 26.7%)
CIE-LABlab(50.03, 57.85, -39.37)
CIE-LCHlch(50.03, 69.97, 325.76°)
OKLaboklab(59.38% 0.1586 -0.1089)
OKLCHoklch(59.38% 0.192 325.5)
XYZxyz(30.5411, 18.4456, 48.9558)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BBB #51BB4B
analogous
#7D4BBB #B54BBB #BB4B89
triadic
#B54BBB #BBB54B #4BBBB5
tetradic
#B54BBB #BB7D4B #51BB4B #4B89BB
square
#B54BBB #BB7D4B #51BB4B #4B89BB
split-complementary
#B54BBB #89BB4B #4BBB7D
monochromatic
#622665 #8D3792 #B54BBB #C777CC #DAA4DD

Accessibility & contrast

On white

4.48
#B54BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B54BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BBB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BBB#FFFFFF#000000##000000
##B54BBB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBE
Deuteranopia (green-blind)
#607CB8
Tritanopia (blue-blind)
#B95A7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54bbb;
/* rgb */ color: rgb(181, 75, 187);
/* oklch */ color: oklch(59.4% 0.192 325.5);
Tailwind
colors: {
  custom: {
    50: '#ce84d0',
    500: '#b54bbb',
    950: '#000000',
  },
}
SCSS
$custom: #b54bbb;
$custom-light: #ce84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bbb",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 296.786,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.19237,
    "h": 325.5
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#B54BBB
secondary
#9BCA98
accent
#D5535A
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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