#B545C8#B545C8

#B545C8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.212 H 321.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B545C8
RGBrgb(181, 69, 200)
HSLhsl(291, 54%, 53%)
HSVhsv(291, 66%, 78%)
CMYKcmyk(9.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(49.80, 62.79, -47.26)
CIE-LCHlch(49.80, 78.59, 323.03°)
OKLaboklab(59.44% 0.1661 -0.1318)
OKLCHoklch(59.44% 0.212 321.6)
XYZxyz(31.6084, 18.2518, 56.4904)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545C8 #58C845
analogous
#7445C8 #B545C8 #C84599
triadic
#B545C8 #C8B545 #45C8B5
tetradic
#B545C8 #C87445 #58C845 #4599C8
square
#B545C8 #C87445 #58C845 #4599C8
split-complementary
#B545C8 #99C845 #45C874
monochromatic
#662171 #902FA0 #B545C8 #C874D6 #DBA3E4

Accessibility & contrast

On white

4.52
#B545C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B545C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545C8#FFFFFF#000000##000000
##B545C81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#206ECC
Deuteranopia (green-blind)
#547BC5
Tritanopia (blue-blind)
#B75B81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b545c8;
/* rgb */ color: rgb(181, 69, 200);
/* oklch */ color: oklch(59.4% 0.212 321.6);
Tailwind
colors: {
  custom: {
    50: '#cf81d9',
    500: '#b545c8',
    950: '#000000',
  },
}
SCSS
$custom: #b545c8;
$custom-light: #cf81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b545c8",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 291.298,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.21201,
    "h": 321.6
  },
  "luminance": 0.1825
}

Semantic roles & 50–950 ramp

primary
#B545C8
secondary
#A0D198
accent
#DE4A5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B545C8

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

Preview Lab → · Contrast checker → · Palette generator →

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