#B545A6#B545A6

#B545A6 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.183 H 333.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B545A6
RGBrgb(181, 69, 166)
HSLhsl(308, 45%, 49%)
HSVhsv(308, 62%, 71%)
CMYKcmyk(0%, 61.9%, 8.3%, 29%)
CIE-LABlab(48.05, 56.87, -30.18)
CIE-LCHlch(48.05, 64.38, 332.05°)
OKLaboklab(57.6% 0.1639 -0.0824)
OKLCHoklch(57.6% 0.183 333.3)
XYZxyz(28.0672, 16.8353, 37.8403)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A6 #45B554
analogous
#8C45B5 #B545A6 #B5456E
triadic
#B545A6 #A6B545 #45A6B5
tetradic
#B545A6 #B58C45 #45B554 #456EB5
square
#B545A6 #B58C45 #45B554 #456EB5
split-complementary
#B545A6 #6EB545 #45B58C
monochromatic
#5C2355 #89347D #B545A6 #C86FBC #D99BD1

Accessibility & contrast

On white

4.81
#B545A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B545A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545A6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545A6#FFFFFF#000000##FFFFFF
##B545A61.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#6678A3
Tritanopia (blue-blind)
#BD4E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b545a6;
/* rgb */ color: rgb(181, 69, 166);
/* oklch */ color: oklch(57.6% 0.183 333.3);
Tailwind
colors: {
  custom: {
    50: '#ce80c0',
    500: '#b545a6',
    950: '#000000',
  },
}
SCSS
$custom: #b545a6;
$custom-light: #ce80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a6",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 308.036,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57601,
    "c": 0.18345,
    "h": 333.3
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#B545A6
secondary
#91C598
accent
#D56553
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B545A6

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

Preview Lab → · Contrast checker → · Palette generator →

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