#B54BBD#B54BBD

#B54BBD is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.194 H 324.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B54BBD
RGBrgb(181, 75, 189)
HSLhsl(296, 46%, 52%)
HSVhsv(296, 60%, 74%)
CMYKcmyk(4.2%, 60.3%, 0%, 25.9%)
CIE-LABlab(50.13, 58.21, -40.37)
CIE-LCHlch(50.13, 70.84, 325.26°)
OKLaboklab(59.49% 0.1587 -0.1118)
OKLCHoklch(59.49% 0.194 324.8)
XYZxyz(30.7567, 18.5318, 50.0912)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BBD #53BD4B
analogous
#7C4BBD #B54BBD #BD4B8C
triadic
#B54BBD #BDB54B #4BBDB5
tetradic
#B54BBD #BD7C4B #53BD4B #4B8CBD
square
#B54BBD #BD7C4B #53BD4B #4B8CBD
split-complementary
#B54BBD #8CBD4B #4BBD7C
monochromatic
#632668 #8E3694 #B54BBD #C778CD #DAA5DE

Accessibility & contrast

On white

4.46
#B54BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B54BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BBD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BBD#FFFFFF#000000##000000
##B54BBD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#B95B7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54bbd;
/* rgb */ color: rgb(181, 75, 189);
/* oklch */ color: oklch(59.5% 0.194 324.8);
Tailwind
colors: {
  custom: {
    50: '#ce84d1',
    500: '#b54bbd',
    950: '#000000',
  },
}
SCSS
$custom: #b54bbd;
$custom-light: #ce84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bbd",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 295.789,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.19413,
    "h": 324.8
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#B54BBD
secondary
#9CCB99
accent
#D6525B
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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