#B54BB3#B54BB3

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

Color values

HEX#B54BB3
RGBrgb(181, 75, 179)
HSLhsl(301, 42%, 50%)
HSVhsv(301, 59%, 71%)
CMYKcmyk(0%, 58.6%, 1.1%, 29%)
CIE-LABlab(49.63, 56.43, -35.34)
CIE-LCHlch(49.63, 66.58, 327.94°)
OKLaboklab(58.96% 0.1579 -0.0973)
OKLCHoklch(58.96% 0.185 328.4)
XYZxyz(29.7084, 18.1125, 44.5704)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BB3 #4BB54D
analogous
#824BB5 #B54BB3 #B54B7E
triadic
#B54BB3 #B3B54B #4BB3B5
tetradic
#B54BB3 #B5824B #4BB54D #4B7EB5
square
#B54BB3 #B5824B #4BB54D #4B7EB5
split-complementary
#B54BB3 #7EB54B #4BB582
monochromatic
#5F275E #8A3989 #B54BB3 #C776C5 #D9A2D8

Accessibility & contrast

On white

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

On black

4.62
#B54BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BB3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BB3#FFFFFF#000000##000000
##B54BB31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#BB5778
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54bb3;
/* rgb */ color: rgb(181, 75, 179);
/* oklch */ color: oklch(59.0% 0.185 328.4);
Tailwind
colors: {
  custom: {
    50: '#ce83ca',
    500: '#b54bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b54bb3;
$custom-light: #ce83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bb3",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 301.132,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.18543,
    "h": 328.4
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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