#B545A4#B545A4

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

Color values

HEX#B545A4
RGBrgb(181, 69, 164)
HSLhsl(309, 45%, 49%)
HSVhsv(309, 62%, 71%)
CMYKcmyk(0%, 61.9%, 9.4%, 29%)
CIE-LABlab(47.96, 56.55, -29.14)
CIE-LCHlch(47.96, 63.62, 332.74°)
OKLaboklab(57.5% 0.1636 -0.0795)
OKLCHoklch(57.5% 0.182 334.1)
XYZxyz(27.8852, 16.7625, 36.8816)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A4 #45B556
analogous
#8E45B5 #B545A4 #B5456C
triadic
#B545A4 #A4B545 #45A4B5
tetradic
#B545A4 #B58E45 #45B556 #456CB5
square
#B545A4 #B58E45 #45B556 #456CB5
split-complementary
#B545A4 #6CB545 #45B58E
monochromatic
#5C2354 #89347C #B545A4 #C86FBB #D99BD0

Accessibility & contrast

On white

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

On black

4.35
#B545A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B545A4#FFFFFF#000000##FFFFFF
##B545A41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#6778A1
Tritanopia (blue-blind)
#BD4D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b545a4;
/* rgb */ color: rgb(181, 69, 164);
/* oklch */ color: oklch(57.5% 0.182 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce80bf',
    500: '#b545a4',
    950: '#000000',
  },
}
SCSS
$custom: #b545a4;
$custom-light: #ce80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a4",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 309.107,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.18189,
    "h": 334.1
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B545A4

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

Preview Lab → · Contrast checker → · Palette generator →

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