#B545B2#B545B2

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

Color values

HEX#B545B2
RGBrgb(181, 69, 178)
HSLhsl(302, 45%, 49%)
HSVhsv(302, 62%, 71%)
CMYKcmyk(0%, 61.9%, 1.7%, 29%)
CIE-LABlab(48.63, 58.87, -36.33)
CIE-LCHlch(48.63, 69.18, 328.32°)
OKLaboklab(58.21% 0.1652 -0.1001)
OKLCHoklch(58.21% 0.193 328.8)
XYZxyz(29.2197, 17.2963, 43.9104)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545B2 #45B548
analogous
#8045B5 #B545B2 #B5457A
triadic
#B545B2 #B2B545 #45B2B5
tetradic
#B545B2 #B58045 #45B548 #457AB5
square
#B545B2 #B58045 #45B548 #457AB5
split-complementary
#B545B2 #7AB545 #45B580
monochromatic
#5C235B #893486 #B545B2 #C86FC6 #D99BD7

Accessibility & contrast

On white

4.71
#B545B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B545B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545B2#FFFFFF#000000##FFFFFF
##B545B21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b545b2;
/* rgb */ color: rgb(181, 69, 178);
/* oklch */ color: oklch(58.2% 0.193 328.8);
Tailwind
colors: {
  custom: {
    50: '#ce80c9',
    500: '#b545b2',
    950: '#000000',
  },
}
SCSS
$custom: #b545b2;
$custom-light: #ce80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b545b2",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 301.607,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58212,
    "c": 0.19315,
    "h": 328.8
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B545B2

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

Preview Lab → · Contrast checker → · Palette generator →

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