#B545AA#B545AA

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

Color values

HEX#B545AA
RGBrgb(181, 69, 170)
HSLhsl(306, 45%, 49%)
HSVhsv(306, 62%, 71%)
CMYKcmyk(0%, 61.9%, 6.1%, 29%)
CIE-LABlab(48.24, 57.53, -32.24)
CIE-LCHlch(48.24, 65.95, 330.73°)
OKLaboklab(57.8% 0.1644 -0.0883)
OKLCHoklch(57.8% 0.187 331.7)
XYZxyz(28.4398, 16.9844, 39.8028)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545AA #45B550
analogous
#8845B5 #B545AA #B54572
triadic
#B545AA #AAB545 #45AAB5
tetradic
#B545AA #B58845 #45B550 #4572B5
square
#B545AA #B58845 #45B550 #4572B5
split-complementary
#B545AA #72B545 #45B588
monochromatic
#5C2357 #893480 #B545AA #C86FBF #D99BD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B545AA#FFFFFF#000000##FFFFFF
##B545AA1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b545aa;
/* rgb */ color: rgb(181, 69, 170);
/* oklch */ color: oklch(57.8% 0.187 331.7);
Tailwind
colors: {
  custom: {
    50: '#ce80c3',
    500: '#b545aa',
    950: '#000000',
  },
}
SCSS
$custom: #b545aa;
$custom-light: #ce80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b545aa",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 305.893,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.578,
    "c": 0.18662,
    "h": 331.7
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B545AA

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

Preview Lab → · Contrast checker → · Palette generator →

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