#B545B1#B545B1

#B545B1 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.192 H 329.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B545B1
RGBrgb(181, 69, 177)
HSLhsl(302, 45%, 49%)
HSVhsv(302, 62%, 71%)
CMYKcmyk(0%, 61.9%, 2.2%, 29%)
CIE-LABlab(48.58, 58.70, -35.82)
CIE-LCHlch(48.58, 68.77, 328.61°)
OKLaboklab(58.16% 0.1651 -0.0986)
OKLCHoklch(58.16% 0.192 329.1)
XYZxyz(29.1197, 17.2563, 43.3835)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545B1 #45B549
analogous
#8145B5 #B545B1 #B54579
triadic
#B545B1 #B1B545 #45B1B5
tetradic
#B545B1 #B58145 #45B549 #4579B5
square
#B545B1 #B58145 #45B549 #4579B5
split-complementary
#B545B1 #79B545 #45B581
monochromatic
#5C235A #893486 #B545B1 #C86FC5 #D99BD7

Accessibility & contrast

On white

4.72
#B545B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B545B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545B1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545B1#FFFFFF#000000##FFFFFF
##B545B11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB4
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#BB5275
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b545b1;
/* rgb */ color: rgb(181, 69, 177);
/* oklch */ color: oklch(58.2% 0.192 329.1);
Tailwind
colors: {
  custom: {
    50: '#ce80c8',
    500: '#b545b1',
    950: '#000000',
  },
}
SCSS
$custom: #b545b1;
$custom-light: #ce80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b545b1",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 302.143,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.19233,
    "h": 329.1
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#B545B1
secondary
#91C592
accent
#D55853
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B545B1

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

Preview Lab → · Contrast checker → · Palette generator →

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