#B545AC#B545AC

#B545AC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.188 H 331.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B545AC
RGBrgb(181, 69, 172)
HSLhsl(305, 45%, 49%)
HSVhsv(305, 62%, 71%)
CMYKcmyk(0%, 61.9%, 5%, 29%)
CIE-LABlab(48.34, 57.86, -33.27)
CIE-LCHlch(48.34, 66.74, 330.10°)
OKLaboklab(57.9% 0.1646 -0.0913)
OKLCHoklch(57.9% 0.188 331)
XYZxyz(28.6305, 17.0606, 40.8068)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545AC #45B54E
analogous
#8645B5 #B545AC #B54574
triadic
#B545AC #ACB545 #45ACB5
tetradic
#B545AC #B58645 #45B54E #4574B5
square
#B545AC #B58645 #45B54E #4574B5
split-complementary
#B545AC #74B545 #45B586
monochromatic
#5C2358 #893482 #B545AC #C86FC1 #D99BD4

Accessibility & contrast

On white

4.76
#B545AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B545AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545AC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545AC#FFFFFF#000000##FFFFFF
##B545AC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b545ac;
/* rgb */ color: rgb(181, 69, 172);
/* oklch */ color: oklch(57.9% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce80c5',
    500: '#b545ac',
    950: '#000000',
  },
}
SCSS
$custom: #b545ac;
$custom-light: #ce80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ac",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 304.821,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.18824,
    "h": 331
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#B545AC
secondary
#91C595
accent
#D55E53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B545AC

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

Preview Lab → · Contrast checker → · Palette generator →

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