#B545BA#B545BA

#B545BA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.200 H 326.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B545BA
RGBrgb(181, 69, 186)
HSLhsl(297, 46%, 50%)
HSVhsv(297, 63%, 73%)
CMYKcmyk(2.7%, 62.9%, 0%, 27.1%)
CIE-LABlab(49.04, 60.26, -40.36)
CIE-LCHlch(49.04, 72.53, 326.19°)
OKLaboklab(58.64% 0.1657 -0.1117)
OKLCHoklch(58.64% 0.2 326)
XYZxyz(30.0465, 17.6270, 48.2646)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545BA #4ABA45
analogous
#7B45BA #B545BA #BA4584
triadic
#B545BA #BAB545 #45BAB5
tetradic
#B545BA #BA7B45 #4ABA45 #4584BA
square
#B545BA #BA7B45 #4ABA45 #4584BA
split-complementary
#B545BA #84BA45 #45BA7B
monochromatic
#5E2461 #8A348D #B545BA #C772CB #D99EDB

Accessibility & contrast

On white

4.64
#B545BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B545BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B545BA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545BA#FFFFFF#000000##FFFFFF
##B545BA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBE
Deuteranopia (green-blind)
#5D79B7
Tritanopia (blue-blind)
#B95579
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b545ba;
/* rgb */ color: rgb(181, 69, 186);
/* oklch */ color: oklch(58.6% 0.200 326.0);
Tailwind
colors: {
  custom: {
    50: '#ce80cf',
    500: '#b545ba',
    950: '#000000',
  },
}
SCSS
$custom: #b545ba;
$custom-light: #ce80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ba",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 297.436,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.19988,
    "h": 326
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#B545BA
secondary
#95C893
accent
#D65258
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B545BA

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

Preview Lab → · Contrast checker → · Palette generator →

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