#B545BC#B545BC

#B545BC is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.202 H 325.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B545BC
RGBrgb(181, 69, 188)
HSLhsl(296, 47%, 50%)
HSVhsv(296, 63%, 74%)
CMYKcmyk(3.7%, 63.3%, 0%, 26.3%)
CIE-LABlab(49.15, 60.61, -41.35)
CIE-LCHlch(49.15, 73.38, 325.70°)
OKLaboklab(58.75% 0.1658 -0.1146)
OKLCHoklch(58.75% 0.202 325.3)
XYZxyz(30.2606, 17.7127, 49.3922)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545BC #4CBC45
analogous
#7A45BC #B545BC #BC4587
triadic
#B545BC #BCB545 #45BCB5
tetradic
#B545BC #BC7A45 #4CBC45 #4587BC
square
#B545BC #BC7A45 #4CBC45 #4587BC
split-complementary
#B545BC #87BC45 #45BC7A
monochromatic
#5F2463 #8B3490 #B545BC #C772CC #D99FDC

Accessibility & contrast

On white

4.62
#B545BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B545BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B545BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545BC#FFFFFF#000000##FFFFFF
##B545BC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#B9567A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b545bc;
/* rgb */ color: rgb(181, 69, 188);
/* oklch */ color: oklch(58.8% 0.202 325.3);
Tailwind
colors: {
  custom: {
    50: '#ce80d0',
    500: '#b545bc',
    950: '#000000',
  },
}
SCSS
$custom: #b545bc;
$custom-light: #ce80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b545bc",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 296.471,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.20158,
    "h": 325.3
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#B545BC
secondary
#97C994
accent
#D75159
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B545BC

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

Preview Lab → · Contrast checker → · Palette generator →

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