#B537AB#B537AB

#B537AB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.206 H 331.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B537AB
RGBrgb(181, 55, 171)
HSLhsl(305, 53%, 46%)
HSVhsv(305, 70%, 71%)
CMYKcmyk(0%, 69.6%, 5.5%, 29%)
CIE-LABlab(46.31, 63.21, -35.87)
CIE-LCHlch(46.31, 72.68, 330.43°)
OKLaboklab(56.42% 0.1805 -0.0986)
OKLCHoklch(56.42% 0.206 331.3)
XYZxyz(27.7729, 15.4986, 40.0489)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537AB #37B541
analogous
#8037B5 #B537AB #B5376C
triadic
#B537AB #ABB537 #37ABB5
tetradic
#B537AB #B58037 #37B541 #376CB5
square
#B537AB #B58037 #37B541 #376CB5
split-complementary
#B537AB #6CB537 #37B580
monochromatic
#571A52 #86297F #B537AB #CD5CC4 #DC8BD5

Accessibility & contrast

On white

5.12
#B537AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B537AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537AB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537AB#FFFFFF#000000##FFFFFF
##B537AB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#BC456D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b537ab;
/* rgb */ color: rgb(181, 55, 171);
/* oklch */ color: oklch(56.4% 0.206 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf79c4',
    500: '#b537ab',
    950: '#000000',
  },
}
SCSS
$custom: #b537ab;
$custom-light: #cf79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b537ab",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 304.762,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.20566,
    "h": 331.3
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#B537AB
secondary
#82C687
accent
#DD574B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B537AB

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

Preview Lab → · Contrast checker → · Palette generator →

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