#B537A4#B537A4

#B537A4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.200 H 333.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B537A4
RGBrgb(181, 55, 164)
HSLhsl(308, 53%, 46%)
HSVhsv(308, 70%, 71%)
CMYKcmyk(0%, 69.6%, 9.4%, 29%)
CIE-LABlab(45.96, 62.12, -32.27)
CIE-LCHlch(45.96, 70.00, 332.55°)
OKLaboklab(56.05% 0.1799 -0.0883)
OKLCHoklch(56.05% 0.2 333.9)
XYZxyz(27.1233, 15.2387, 36.6276)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537A4 #37B548
analogous
#8737B5 #B537A4 #B53765
triadic
#B537A4 #A4B537 #37A4B5
tetradic
#B537A4 #B58737 #37B548 #3765B5
square
#B537A4 #B58737 #37B548 #3765B5
split-complementary
#B537A4 #65B537 #37B587
monochromatic
#571A4F #862979 #B537A4 #CD5CBE #DC8BD1

Accessibility & contrast

On white

5.19
#B537A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B537A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537A4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537A4#FFFFFF#000000##FFFFFF
##B537A41.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#BD4269
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b537a4;
/* rgb */ color: rgb(181, 55, 164);
/* oklch */ color: oklch(56.0% 0.200 333.9);
Tailwind
colors: {
  custom: {
    50: '#cf79bf',
    500: '#b537a4',
    950: '#000000',
  },
}
SCSS
$custom: #b537a4;
$custom-light: #cf79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b537a4",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 308.095,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.20042,
    "h": 333.9
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#B537A4
secondary
#82C68B
accent
#DD5F4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B537A4

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

Preview Lab → · Contrast checker → · Palette generator →

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