#B545C6#B545C6

#B545C6 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.210 H 322.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B545C6
RGBrgb(181, 69, 198)
HSLhsl(292, 53%, 52%)
HSVhsv(292, 65%, 78%)
CMYKcmyk(8.6%, 65.2%, 0%, 22.4%)
CIE-LABlab(49.69, 62.42, -46.28)
CIE-LCHlch(49.69, 77.71, 323.44°)
OKLaboklab(59.32% 0.1661 -0.129)
OKLCHoklch(59.32% 0.21 322.2)
XYZxyz(31.3762, 18.1589, 55.2675)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545C6 #56C645
analogous
#7545C6 #B545C6 #C64597
triadic
#B545C6 #C6B545 #45C6B5
tetradic
#B545C6 #C67545 #56C645 #4597C6
square
#B545C6 #C67545 #56C645 #4597C6
split-complementary
#B545C6 #97C645 #45C675
monochromatic
#65226F #8F309E #B545C6 #C874D4 #DAA3E3

Accessibility & contrast

On white

4.53
#B545C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B545C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545C6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545C6#FFFFFF#000000##000000
##B545C61.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#246ECA
Deuteranopia (green-blind)
#567AC3
Tritanopia (blue-blind)
#B75A80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b545c6;
/* rgb */ color: rgb(181, 69, 198);
/* oklch */ color: oklch(59.3% 0.210 322.2);
Tailwind
colors: {
  custom: {
    50: '#ce81d8',
    500: '#b545c6',
    950: '#000000',
  },
}
SCSS
$custom: #b545c6;
$custom-light: #ce81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b545c6",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 292.093,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59319,
    "c": 0.21026,
    "h": 322.2
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#B545C6
secondary
#9FCF97
accent
#DC4B5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B545C6

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

Preview Lab → · Contrast checker → · Palette generator →

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