#B54BB2#B54BB2

#B54BB2 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.185 H 328.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B54BB2
RGBrgb(181, 75, 178)
HSLhsl(302, 42%, 50%)
HSVhsv(302, 59%, 71%)
CMYKcmyk(0%, 58.6%, 1.7%, 29%)
CIE-LABlab(49.58, 56.25, -34.83)
CIE-LCHlch(49.58, 66.17, 328.23°)
OKLaboklab(58.9% 0.1578 -0.0958)
OKLCHoklch(58.9% 0.185 328.7)
XYZxyz(29.6077, 18.0722, 44.0397)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BB2 #4BB54E
analogous
#834BB5 #B54BB2 #B54B7D
triadic
#B54BB2 #B2B54B #4BB2B5
tetradic
#B54BB2 #B5834B #4BB54E #4B7DB5
square
#B54BB2 #B5834B #4BB54E #4B7DB5
split-complementary
#B54BB2 #7DB54B #4BB583
monochromatic
#5F275D #8A3988 #B54BB2 #C776C5 #D9A2D7

Accessibility & contrast

On white

4.55
#B54BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B54BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BB2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BB2#FFFFFF#000000##000000
##B54BB21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#BB5777
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54bb2;
/* rgb */ color: rgb(181, 75, 178);
/* oklch */ color: oklch(58.9% 0.185 328.7);
Tailwind
colors: {
  custom: {
    50: '#ce83c9',
    500: '#b54bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b54bb2;
$custom-light: #ce83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bb2",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 301.698,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.18458,
    "h": 328.7
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#B54BB2
secondary
#96C698
accent
#D25A56
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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