#B537A9#B537A9

#B537A9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.204 H 332.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B537A9
RGBrgb(181, 55, 169)
HSLhsl(306, 53%, 46%)
HSVhsv(306, 70%, 71%)
CMYKcmyk(0%, 69.6%, 6.6%, 29%)
CIE-LABlab(46.21, 62.90, -34.84)
CIE-LCHlch(46.21, 71.90, 331.01°)
OKLaboklab(56.31% 0.1803 -0.0957)
OKLCHoklch(56.31% 0.204 332)
XYZxyz(27.5837, 15.4229, 39.0526)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537A9 #37B543
analogous
#8237B5 #B537A9 #B5376A
triadic
#B537A9 #A9B537 #37A9B5
tetradic
#B537A9 #B58237 #37B543 #376AB5
square
#B537A9 #B58237 #37B543 #376AB5
split-complementary
#B537A9 #6AB537 #37B582
monochromatic
#571A51 #86297D #B537A9 #CD5CC3 #DC8BD4

Accessibility & contrast

On white

5.14
#B537A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B537A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537A9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537A9#FFFFFF#000000##FFFFFF
##B537A91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#5E74A6
Tritanopia (blue-blind)
#BD446C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b537a9;
/* rgb */ color: rgb(181, 55, 169);
/* oklch */ color: oklch(56.3% 0.204 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf79c3',
    500: '#b537a9',
    950: '#000000',
  },
}
SCSS
$custom: #b537a9;
$custom-light: #cf79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b537a9",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 305.714,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.20415,
    "h": 332
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#B537A9
secondary
#82C688
accent
#DD594B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B537A9

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

Preview Lab → · Contrast checker → · Palette generator →

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