#B545B7#B545B7

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

Color values

HEX#B545B7
RGBrgb(181, 69, 183)
HSLhsl(299, 45%, 49%)
HSVhsv(299, 62%, 72%)
CMYKcmyk(1.1%, 62.3%, 0%, 28.2%)
CIE-LABlab(48.88, 59.73, -38.85)
CIE-LCHlch(48.88, 71.26, 326.96°)
OKLaboklab(58.48% 0.1656 -0.1074)
OKLCHoklch(58.48% 0.197 327)
XYZxyz(29.7309, 17.5008, 46.6026)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545B7 #47B745
analogous
#7C45B7 #B545B7 #B74580
triadic
#B545B7 #B7B545 #45B7B5
tetradic
#B545B7 #B77C45 #47B745 #4580B7
square
#B545B7 #B77C45 #47B745 #4580B7
split-complementary
#B545B7 #80B745 #45B77C
monochromatic
#5D235E #89348B #B545B7 #C870C9 #D99DDA

Accessibility & contrast

On white

4.67
#B545B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B545B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B545B7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545B7#FFFFFF#000000##FFFFFF
##B545B71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#BA5478
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b545b7;
/* rgb */ color: rgb(181, 69, 183);
/* oklch */ color: oklch(58.5% 0.197 327.0);
Tailwind
colors: {
  custom: {
    50: '#ce80cd',
    500: '#b545b7',
    950: '#000000',
  },
}
SCSS
$custom: #b545b7;
$custom-light: #ce80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b545b7",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 298.947,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.19734,
    "h": 327
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#B545B7
secondary
#93C692
accent
#D55355
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B545B7

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

Preview Lab → · Contrast checker → · Palette generator →

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