#B545C5#B545C5

#B545C5 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.209 H 322.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B545C5
RGBrgb(181, 69, 197)
HSLhsl(293, 52%, 52%)
HSVhsv(293, 65%, 77%)
CMYKcmyk(8.1%, 65%, 0%, 22.7%)
CIE-LABlab(49.63, 62.24, -45.79)
CIE-LCHlch(49.63, 77.27, 323.65°)
OKLaboklab(59.26% 0.1661 -0.1275)
OKLCHoklch(59.26% 0.209 322.5)
XYZxyz(31.2612, 18.1129, 54.6620)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545C5 #55C545
analogous
#7545C5 #B545C5 #C54595
triadic
#B545C5 #C5B545 #45C5B5
tetradic
#B545C5 #C57545 #55C545 #4595C5
square
#B545C5 #C57545 #55C545 #4595C5
split-complementary
#B545C5 #95C545 #45C575
monochromatic
#64226D #8F319C #B545C5 #C874D4 #DAA2E2

Accessibility & contrast

On white

4.54
#B545C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B545C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545C5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545C5#FFFFFF#000000##000000
##B545C51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#256EC9
Deuteranopia (green-blind)
#567AC2
Tritanopia (blue-blind)
#B75A7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b545c5;
/* rgb */ color: rgb(181, 69, 197);
/* oklch */ color: oklch(59.3% 0.209 322.5);
Tailwind
colors: {
  custom: {
    50: '#ce81d7',
    500: '#b545c5',
    950: '#000000',
  },
}
SCSS
$custom: #b545c5;
$custom-light: #ce81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b545c5",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 292.5,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.20938,
    "h": 322.5
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#B545C5
secondary
#9ECF97
accent
#DC4C5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B545C5

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

Preview Lab → · Contrast checker → · Palette generator →

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