#B545A3#B545A3

#B545A3 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.181 H 334.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B545A3
RGBrgb(181, 69, 163)
HSLhsl(310, 45%, 49%)
HSVhsv(310, 62%, 71%)
CMYKcmyk(0%, 61.9%, 9.9%, 29%)
CIE-LABlab(47.91, 56.39, -28.62)
CIE-LCHlch(47.91, 63.24, 333.09°)
OKLaboklab(57.46% 0.1635 -0.078)
OKLCHoklch(57.46% 0.181 334.5)
XYZxyz(27.7952, 16.7265, 36.4078)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A3 #45B557
analogous
#8F45B5 #B545A3 #B5456B
triadic
#B545A3 #A3B545 #45A3B5
tetradic
#B545A3 #B58F45 #45B557 #456BB5
square
#B545A3 #B58F45 #45B557 #456BB5
split-complementary
#B545A3 #6BB545 #45B58F
monochromatic
#5C2353 #89347B #B545A3 #C86FBA #D99BCF

Accessibility & contrast

On white

4.83
#B545A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B545A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545A3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545A3#FFFFFF#000000##FFFFFF
##B545A31.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#BD4C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b545a3;
/* rgb */ color: rgb(181, 69, 163);
/* oklch */ color: oklch(57.5% 0.181 334.5);
Tailwind
colors: {
  custom: {
    50: '#ce80be',
    500: '#b545a3',
    950: '#000000',
  },
}
SCSS
$custom: #b545a3;
$custom-light: #ce80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a3",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 309.643,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57455,
    "c": 0.18112,
    "h": 334.5
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#B545A3
secondary
#91C599
accent
#D56853
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B545A3

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

Preview Lab → · Contrast checker → · Palette generator →

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