#B545B4#B545B4

#B545B4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.195 H 328.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B545B4
RGBrgb(181, 69, 180)
HSLhsl(301, 45%, 49%)
HSVhsv(301, 62%, 71%)
CMYKcmyk(0%, 61.9%, 0.6%, 29%)
CIE-LABlab(48.73, 59.22, -37.34)
CIE-LCHlch(48.73, 70.01, 327.76°)
OKLaboklab(58.32% 0.1654 -0.103)
OKLCHoklch(58.32% 0.195 328.1)
XYZxyz(29.4220, 17.3772, 44.9756)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545B4 #45B546
analogous
#7E45B5 #B545B4 #B5457C
triadic
#B545B4 #B4B545 #45B4B5
tetradic
#B545B4 #B57E45 #45B546 #457CB5
square
#B545B4 #B57E45 #45B546 #457CB5
split-complementary
#B545B4 #7CB545 #45B57E
monochromatic
#5C235C #893488 #B545B4 #C86FC7 #D99BD8

Accessibility & contrast

On white

4.69
#B545B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B545B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B545B4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545B4#FFFFFF#000000##FFFFFF
##B545B41.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#BB5376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b545b4;
/* rgb */ color: rgb(181, 69, 180);
/* oklch */ color: oklch(58.3% 0.195 328.1);
Tailwind
colors: {
  custom: {
    50: '#ce80cb',
    500: '#b545b4',
    950: '#000000',
  },
}
SCSS
$custom: #b545b4;
$custom-light: #ce80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b545b4",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 300.536,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.19482,
    "h": 328.1
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#B545B4
secondary
#91C591
accent
#D55453
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B545B4

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

Preview Lab → · Contrast checker → · Palette generator →

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