#B545AE#B545AE

#B545AE is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 330.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B545AE
RGBrgb(181, 69, 174)
HSLhsl(304, 45%, 49%)
HSVhsv(304, 62%, 71%)
CMYKcmyk(0%, 61.9%, 3.9%, 29%)
CIE-LABlab(48.43, 58.19, -34.29)
CIE-LCHlch(48.43, 67.55, 329.49°)
OKLaboklab(58% 0.1648 -0.0942)
OKLCHoklch(58% 0.19 330.2)
XYZxyz(28.8240, 17.1380, 41.8260)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545AE #45B54C
analogous
#8445B5 #B545AE #B54576
triadic
#B545AE #AEB545 #45AEB5
tetradic
#B545AE #B58445 #45B54C #4576B5
square
#B545AE #B58445 #45B54C #4576B5
split-complementary
#B545AE #76B545 #45B584
monochromatic
#5C2359 #893483 #B545AE #C86FC3 #D99BD5

Accessibility & contrast

On white

4.74
#B545AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B545AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545AE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545AE#FFFFFF#000000##FFFFFF
##B545AE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#BC5173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b545ae;
/* rgb */ color: rgb(181, 69, 174);
/* oklch */ color: oklch(58.0% 0.190 330.2);
Tailwind
colors: {
  custom: {
    50: '#ce80c6',
    500: '#b545ae',
    950: '#000000',
  },
}
SCSS
$custom: #b545ae;
$custom-light: #ce80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ae",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 303.75,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.18986,
    "h": 330.2
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#B545AE
secondary
#91C594
accent
#D55B53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B545AE

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

Preview Lab → · Contrast checker → · Palette generator →

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