#B54BB4#B54BB4

#B54BB4 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.186 H 328.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B54BB4
RGBrgb(181, 75, 180)
HSLhsl(301, 42%, 50%)
HSVhsv(301, 59%, 71%)
CMYKcmyk(0%, 58.6%, 0.6%, 29%)
CIE-LABlab(49.68, 56.60, -35.85)
CIE-LCHlch(49.68, 67.00, 327.65°)
OKLaboklab(59.01% 0.158 -0.0987)
OKLCHoklch(59.01% 0.186 328)
XYZxyz(29.8099, 18.1531, 45.1049)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BB4 #4BB54C
analogous
#814BB5 #B54BB4 #B54B7F
triadic
#B54BB4 #B4B54B #4BB4B5
tetradic
#B54BB4 #B5814B #4BB54C #4B7FB5
square
#B54BB4 #B5814B #4BB54C #4B7FB5
split-complementary
#B54BB4 #7FB54B #4BB581
monochromatic
#5F275E #8A3989 #B54BB4 #C776C6 #D9A2D8

Accessibility & contrast

On white

4.54
#B54BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B54BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BB4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BB4#FFFFFF#000000##000000
##B54BB41.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#BA5879
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54bb4;
/* rgb */ color: rgb(181, 75, 180);
/* oklch */ color: oklch(59.0% 0.186 328.0);
Tailwind
colors: {
  custom: {
    50: '#ce83cb',
    500: '#b54bb4',
    950: '#000000',
  },
}
SCSS
$custom: #b54bb4;
$custom-light: #ce83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bb4",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 300.566,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.18629,
    "h": 328
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#B54BB4
secondary
#96C697
accent
#D25756
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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