#B54BBA#B54BBA

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

Color values

HEX#B54BBA
RGBrgb(181, 75, 186)
HSLhsl(297, 45%, 51%)
HSVhsv(297, 60%, 73%)
CMYKcmyk(2.7%, 59.7%, 0%, 27.1%)
CIE-LABlab(49.98, 57.67, -38.87)
CIE-LCHlch(49.98, 69.54, 326.02°)
OKLaboklab(59.33% 0.1585 -0.1075)
OKLCHoklch(59.33% 0.192 325.9)
XYZxyz(30.4344, 18.4029, 48.3939)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BBA #50BA4B
analogous
#7D4BBA #B54BBA #BA4B87
triadic
#B54BBA #BAB54B #4BBAB5
tetradic
#B54BBA #BA7D4B #50BA4B #4B87BA
square
#B54BBA #BA7D4B #50BA4B #4B87BA
split-complementary
#B54BBA #87BA4B #4BBA7D
monochromatic
#612664 #8C3790 #B54BBA #C777CB #D9A3DC

Accessibility & contrast

On white

4.49
#B54BBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B54BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BBA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BBA#FFFFFF#000000##000000
##B54BBA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#B95A7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54bba;
/* rgb */ color: rgb(181, 75, 186);
/* oklch */ color: oklch(59.3% 0.192 325.9);
Tailwind
colors: {
  custom: {
    50: '#ce84cf',
    500: '#b54bba',
    950: '#000000',
  },
}
SCSS
$custom: #b54bba;
$custom-light: #ce84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bba",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 297.297,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.1915,
    "h": 325.9
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#B54BBA
secondary
#9AC998
accent
#D45459
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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