#B545C1#B545C1

#B545C1 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.206 H 323.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B545C1
RGBrgb(181, 69, 193)
HSLhsl(294, 50%, 51%)
HSVhsv(294, 64%, 76%)
CMYKcmyk(6.2%, 64.2%, 0%, 24.3%)
CIE-LABlab(49.41, 61.51, -43.83)
CIE-LCHlch(49.41, 75.53, 324.53°)
OKLaboklab(59.03% 0.166 -0.1218)
OKLCHoklch(59.03% 0.206 323.7)
XYZxyz(30.8089, 17.9320, 52.2802)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545C1 #51C145
analogous
#7745C1 #B545C1 #C1458F
triadic
#B545C1 #C1B545 #45C1B5
tetradic
#B545C1 #C17745 #51C145 #458FC1
square
#B545C1 #C17745 #51C145 #458FC1
split-complementary
#B545C1 #8FC145 #45C177
monochromatic
#622369 #8D3297 #B545C1 #C773D0 #DAA1E0

Accessibility & contrast

On white

4.58
#B545C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B545C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545C1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545C1#FFFFFF#000000##000000
##B545C11.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#597ABE
Tritanopia (blue-blind)
#B8587D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b545c1;
/* rgb */ color: rgb(181, 69, 193);
/* oklch */ color: oklch(59.0% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#ce81d4',
    500: '#b545c1',
    950: '#000000',
  },
}
SCSS
$custom: #b545c1;
$custom-light: #ce81d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b545c1",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 294.194,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59032,
    "c": 0.2059,
    "h": 323.7
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#B545C1
secondary
#9BCC96
accent
#DA4E5C
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B545C1

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

Preview Lab → · Contrast checker → · Palette generator →

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