#B545B3#B545B3

#B545B3 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.194 H 328.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B545B3
RGBrgb(181, 69, 179)
HSLhsl(301, 45%, 49%)
HSVhsv(301, 62%, 71%)
CMYKcmyk(0%, 61.9%, 1.1%, 29%)
CIE-LABlab(48.68, 59.04, -36.84)
CIE-LCHlch(48.68, 69.59, 328.04°)
OKLaboklab(58.26% 0.1653 -0.1016)
OKLCHoklch(58.26% 0.194 328.4)
XYZxyz(29.3205, 17.3366, 44.4411)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545B3 #45B547
analogous
#7F45B5 #B545B3 #B5457B
triadic
#B545B3 #B3B545 #45B3B5
tetradic
#B545B3 #B57F45 #45B547 #457BB5
square
#B545B3 #B57F45 #45B547 #457BB5
split-complementary
#B545B3 #7BB545 #45B57F
monochromatic
#5C235B #893487 #B545B3 #C86FC7 #D99BD8

Accessibility & contrast

On white

4.70
#B545B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B545B3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545B3#FFFFFF#000000##FFFFFF
##B545B31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#BB5376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b545b3;
/* rgb */ color: rgb(181, 69, 179);
/* oklch */ color: oklch(58.3% 0.194 328.4);
Tailwind
colors: {
  custom: {
    50: '#ce80ca',
    500: '#b545b3',
    950: '#000000',
  },
}
SCSS
$custom: #b545b3;
$custom-light: #ce80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b545b3",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 301.071,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.19398,
    "h": 328.4
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B545B3

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

Preview Lab → · Contrast checker → · Palette generator →

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