#B545BF#B545BF

#B545BF is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.204 H 324.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B545BF
RGBrgb(181, 69, 191)
HSLhsl(295, 49%, 51%)
HSVhsv(295, 64%, 75%)
CMYKcmyk(5.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(49.31, 61.15, -42.84)
CIE-LCHlch(49.31, 74.66, 324.99°)
OKLaboklab(58.92% 0.1659 -0.1189)
OKLCHoklch(58.92% 0.204 324.4)
XYZxyz(30.5874, 17.8434, 51.1131)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545BF #4FBF45
analogous
#7845BF #B545BF #BF458C
triadic
#B545BF #BFB545 #45BFB5
tetradic
#B545BF #BF7845 #4FBF45 #458CBF
square
#B545BF #BF7845 #4FBF45 #458CBF
split-complementary
#B545BF #8CBF45 #45BF78
monochromatic
#612366 #8C3394 #B545BF #C773CF #D9A0DE

Accessibility & contrast

On white

4.60
#B545BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B545BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B545BF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545BF#FFFFFF#000000##FFFFFF
##B545BF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#B9577C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b545bf;
/* rgb */ color: rgb(181, 69, 191);
/* oklch */ color: oklch(58.9% 0.204 324.4);
Tailwind
colors: {
  custom: {
    50: '#ce81d3',
    500: '#b545bf',
    950: '#000000',
  },
}
SCSS
$custom: #b545bf;
$custom-light: #ce81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b545bf",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 295.082,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.20416,
    "h": 324.4
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#B545BF
secondary
#99CB95
accent
#D84F5B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B545BF

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

Preview Lab → · Contrast checker → · Palette generator →

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