#B545A5#B545A5

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

Color values

HEX#B545A5
RGBrgb(181, 69, 165)
HSLhsl(309, 45%, 49%)
HSVhsv(309, 62%, 71%)
CMYKcmyk(0%, 61.9%, 8.8%, 29%)
CIE-LABlab(48.01, 56.71, -29.66)
CIE-LCHlch(48.01, 64.00, 332.39°)
OKLaboklab(57.55% 0.1638 -0.0809)
OKLCHoklch(57.55% 0.183 333.7)
XYZxyz(27.9758, 16.7988, 37.3590)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545A5 #45B555
analogous
#8D45B5 #B545A5 #B5456D
triadic
#B545A5 #A5B545 #45A5B5
tetradic
#B545A5 #B58D45 #45B555 #456DB5
square
#B545A5 #B58D45 #45B555 #456DB5
split-complementary
#B545A5 #6DB545 #45B58D
monochromatic
#5C2354 #89347D #B545A5 #C86FBB #D99BD0

Accessibility & contrast

On white

4.82
#B545A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B545A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545A5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545A5#FFFFFF#000000##FFFFFF
##B545A51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A8
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#BD4D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b545a5;
/* rgb */ color: rgb(181, 69, 165);
/* oklch */ color: oklch(57.6% 0.183 333.7);
Tailwind
colors: {
  custom: {
    50: '#ce80c0',
    500: '#b545a5',
    950: '#000000',
  },
}
SCSS
$custom: #b545a5;
$custom-light: #ce80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b545a5",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 308.571,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.18267,
    "h": 333.7
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B545A5

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

Preview Lab → · Contrast checker → · Palette generator →

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