#B545B8#B545B8

#B545B8 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.198 H 326.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B545B8
RGBrgb(181, 69, 184)
HSLhsl(298, 45%, 50%)
HSVhsv(298, 63%, 72%)
CMYKcmyk(1.6%, 62.5%, 0%, 27.8%)
CIE-LABlab(48.94, 59.91, -39.35)
CIE-LCHlch(48.94, 71.68, 326.70°)
OKLaboklab(58.53% 0.1656 -0.1088)
OKLCHoklch(58.53% 0.198 326.7)
XYZxyz(29.8354, 17.5426, 47.1527)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545B8 #48B845
analogous
#7C45B8 #B545B8 #B84582
triadic
#B545B8 #B8B545 #45B8B5
tetradic
#B545B8 #B87C45 #48B845 #4582B8
square
#B545B8 #B87C45 #48B845 #4582B8
split-complementary
#B545B8 #82B845 #45B87C
monochromatic
#5D245F #89348B #B545B8 #C771CA #D99DDA

Accessibility & contrast

On white

4.66
#B545B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B545B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B545B8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545B8#FFFFFF#000000##FFFFFF
##B545B81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#BA5578
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b545b8;
/* rgb */ color: rgb(181, 69, 184);
/* oklch */ color: oklch(58.5% 0.198 326.7);
Tailwind
colors: {
  custom: {
    50: '#ce80ce',
    500: '#b545b8',
    950: '#000000',
  },
}
SCSS
$custom: #b545b8;
$custom-light: #ce80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b545b8",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 298.435,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58532,
    "c": 0.19818,
    "h": 326.7
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#B545B8
secondary
#93C792
accent
#D55356
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B545B8

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

Preview Lab → · Contrast checker → · Palette generator →

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