#B545AB#B545AB

#B545AB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.9% C 0.187 H 331.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B545AB
RGBrgb(181, 69, 171)
HSLhsl(305, 45%, 49%)
HSVhsv(305, 62%, 71%)
CMYKcmyk(0%, 61.9%, 5.5%, 29%)
CIE-LABlab(48.29, 57.69, -32.76)
CIE-LCHlch(48.29, 66.35, 330.41°)
OKLaboklab(57.85% 0.1645 -0.0898)
OKLCHoklch(57.85% 0.187 331.4)
XYZxyz(28.5348, 17.0223, 40.3029)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545AB #45B54F
analogous
#8745B5 #B545AB #B54573
triadic
#B545AB #ABB545 #45ABB5
tetradic
#B545AB #B58745 #45B54F #4573B5
square
#B545AB #B58745 #45B54F #4573B5
split-complementary
#B545AB #73B545 #45B587
monochromatic
#5C2357 #893481 #B545AB #C86FC0 #D99BD4

Accessibility & contrast

On white

4.77
#B545AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B545AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545AB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545AB#FFFFFF#000000##FFFFFF
##B545AB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#BC5072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b545ab;
/* rgb */ color: rgb(181, 69, 171);
/* oklch */ color: oklch(57.9% 0.187 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce80c4',
    500: '#b545ab',
    950: '#000000',
  },
}
SCSS
$custom: #b545ab;
$custom-light: #ce80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ab",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 305.357,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.18743,
    "h": 331.4
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#B545AB
secondary
#91C595
accent
#D55F53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B545AB

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

Preview Lab → · Contrast checker → · Palette generator →

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