#B545A8#B545A8

#B545A8 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.185 H 332.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B545A8
RGBrgb(181, 69, 168)
HSLhsl(307, 45%, 49%)
HSVhsv(307, 62%, 71%)
CMYKcmyk(0%, 61.9%, 7.2%, 29%)
CIE-LABlab(48.15, 57.20, -31.21)
CIE-LCHlch(48.15, 65.16, 331.38°)
OKLaboklab(57.7% 0.1642 -0.0854)
OKLCHoklch(57.7% 0.185 332.5)
XYZxyz(28.2521, 16.9093, 38.8140)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A8 #45B552
analogous
#8A45B5 #B545A8 #B54570
triadic
#B545A8 #A8B545 #45A8B5
tetradic
#B545A8 #B58A45 #45B552 #4570B5
square
#B545A8 #B58A45 #45B552 #4570B5
split-complementary
#B545A8 #70B545 #45B58A
monochromatic
#5C2356 #89347F #B545A8 #C86FBE #D99BD2

Accessibility & contrast

On white

4.79
#B545A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B545A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545A8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545A8#FFFFFF#000000##FFFFFF
##B545A81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#BC4E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b545a8;
/* rgb */ color: rgb(181, 69, 168);
/* oklch */ color: oklch(57.7% 0.185 332.5);
Tailwind
colors: {
  custom: {
    50: '#ce80c2',
    500: '#b545a8',
    950: '#000000',
  },
}
SCSS
$custom: #b545a8;
$custom-light: #ce80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a8",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 306.964,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.577,
    "c": 0.18503,
    "h": 332.5
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#B545A8
secondary
#91C597
accent
#D56253
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B545A8

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

Preview Lab → · Contrast checker → · Palette generator →

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