#B545AD#B545AD

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

Color values

HEX#B545AD
RGBrgb(181, 69, 173)
HSLhsl(304, 45%, 49%)
HSVhsv(304, 62%, 71%)
CMYKcmyk(0%, 61.9%, 4.4%, 29%)
CIE-LABlab(48.38, 58.03, -33.78)
CIE-LCHlch(48.38, 67.14, 329.79°)
OKLaboklab(57.95% 0.1647 -0.0928)
OKLCHoklch(57.95% 0.189 330.6)
XYZxyz(28.7269, 17.0992, 41.3145)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545AD #45B54D
analogous
#8545B5 #B545AD #B54575
triadic
#B545AD #ADB545 #45ADB5
tetradic
#B545AD #B58545 #45B54D #4575B5
square
#B545AD #B58545 #45B54D #4575B5
split-complementary
#B545AD #75B545 #45B585
monochromatic
#5C2358 #893483 #B545AD #C86FC2 #D99BD5

Accessibility & contrast

On white

4.75
#B545AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B545AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545AD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545AD#FFFFFF#000000##FFFFFF
##B545AD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#BC5073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b545ad;
/* rgb */ color: rgb(181, 69, 173);
/* oklch */ color: oklch(58.0% 0.189 330.6);
Tailwind
colors: {
  custom: {
    50: '#ce80c6',
    500: '#b545ad',
    950: '#000000',
  },
}
SCSS
$custom: #b545ad;
$custom-light: #ce80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ad",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 304.286,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.18904,
    "h": 330.6
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B545AD

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

Preview Lab → · Contrast checker → · Palette generator →

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