#B545BB#B545BB

#B545BB is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.7% C 0.201 H 325.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B545BB
RGBrgb(181, 69, 187)
HSLhsl(297, 46%, 50%)
HSVhsv(297, 63%, 73%)
CMYKcmyk(3.2%, 63.1%, 0%, 26.7%)
CIE-LABlab(49.09, 60.44, -40.85)
CIE-LCHlch(49.09, 72.95, 325.94°)
OKLaboklab(58.7% 0.1658 -0.1132)
OKLCHoklch(58.7% 0.201 325.7)
XYZxyz(30.1532, 17.6697, 48.8264)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545BB #4BBB45
analogous
#7A45BB #B545BB #BB4586
triadic
#B545BB #BBB545 #45BBB5
tetradic
#B545BB #BB7A45 #4BBB45 #4586BB
square
#B545BB #BB7A45 #4BBB45 #4586BB
split-complementary
#B545BB #86BB45 #45BB7A
monochromatic
#5F2462 #8A348F #B545BB #C772CB #D99FDC

Accessibility & contrast

On white

4.63
#B545BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B545BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B545BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545BB#FFFFFF#000000##FFFFFF
##B545BB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#5C7AB8
Tritanopia (blue-blind)
#B9567A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b545bb;
/* rgb */ color: rgb(181, 69, 187);
/* oklch */ color: oklch(58.7% 0.201 325.7);
Tailwind
colors: {
  custom: {
    50: '#ce80d0',
    500: '#b545bb',
    950: '#000000',
  },
}
SCSS
$custom: #b545bb;
$custom-light: #ce80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b545bb",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 296.949,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.20074,
    "h": 325.7
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#B545BB
secondary
#96C894
accent
#D65258
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B545BB

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

Preview Lab → · Contrast checker → · Palette generator →

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