#B545A9#B545A9

#B545A9 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.186 H 332.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B545A9
RGBrgb(181, 69, 169)
HSLhsl(306, 45%, 49%)
HSVhsv(306, 62%, 71%)
CMYKcmyk(0%, 61.9%, 6.6%, 29%)
CIE-LABlab(48.19, 57.36, -31.73)
CIE-LCHlch(48.19, 65.55, 331.05°)
OKLaboklab(57.75% 0.1643 -0.0869)
OKLCHoklch(57.75% 0.186 332.1)
XYZxyz(28.3456, 16.9467, 39.3065)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A9 #45B551
analogous
#8945B5 #B545A9 #B54571
triadic
#B545A9 #A9B545 #45A9B5
tetradic
#B545A9 #B58945 #45B551 #4571B5
square
#B545A9 #B58945 #45B551 #4571B5
split-complementary
#B545A9 #71B545 #45B589
monochromatic
#5C2356 #893480 #B545A9 #C86FBF #D99BD2

Accessibility & contrast

On white

4.78
#B545A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B545A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545A9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545A9#FFFFFF#000000##FFFFFF
##B545A91.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#BC4F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b545a9;
/* rgb */ color: rgb(181, 69, 169);
/* oklch */ color: oklch(57.8% 0.186 332.1);
Tailwind
colors: {
  custom: {
    50: '#ce80c3',
    500: '#b545a9',
    950: '#000000',
  },
}
SCSS
$custom: #b545a9;
$custom-light: #ce80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a9",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 306.429,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.18583,
    "h": 332.1
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#B545A9
secondary
#91C596
accent
#D56153
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B545A9

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

Preview Lab → · Contrast checker → · Palette generator →

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