#B545AF#B545AF

#B545AF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.191 H 329.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B545AF
RGBrgb(181, 69, 175)
HSLhsl(303, 45%, 49%)
HSVhsv(303, 62%, 71%)
CMYKcmyk(0%, 61.9%, 3.3%, 29%)
CIE-LABlab(48.48, 58.36, -34.80)
CIE-LCHlch(48.48, 67.95, 329.19°)
OKLaboklab(58.06% 0.1649 -0.0957)
OKLCHoklch(58.06% 0.191 329.9)
XYZxyz(28.9218, 17.1772, 42.3413)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545AF #45B54B
analogous
#8345B5 #B545AF #B54577
triadic
#B545AF #AFB545 #45AFB5
tetradic
#B545AF #B58345 #45B54B #4577B5
square
#B545AF #B58345 #45B54B #4577B5
split-complementary
#B545AF #77B545 #45B583
monochromatic
#5C2359 #893484 #B545AF #C86FC3 #D99BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B545AF#FFFFFF#000000##FFFFFF
##B545AF1.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)
#3C69B2
Deuteranopia (green-blind)
#6279AC
Tritanopia (blue-blind)
#BB5174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b545af;
/* rgb */ color: rgb(181, 69, 175);
/* oklch */ color: oklch(58.1% 0.191 329.9);
Tailwind
colors: {
  custom: {
    50: '#ce80c7',
    500: '#b545af',
    950: '#000000',
  },
}
SCSS
$custom: #b545af;
$custom-light: #ce80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b545af",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 303.214,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.19068,
    "h": 329.9
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#B545AF
secondary
#91C593
accent
#D55A53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B545AF

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

Preview Lab → · Contrast checker → · Palette generator →

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