#B537A8#B537A8

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

Color values

HEX#B537A8
RGBrgb(181, 55, 168)
HSLhsl(306, 53%, 46%)
HSVhsv(306, 70%, 71%)
CMYKcmyk(0%, 69.6%, 7.2%, 29%)
CIE-LABlab(46.16, 62.74, -34.33)
CIE-LCHlch(46.16, 71.52, 331.31°)
OKLaboklab(56.26% 0.1803 -0.0942)
OKLCHoklch(56.26% 0.203 332.4)
XYZxyz(27.4902, 15.3855, 38.5600)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537A8 #37B544
analogous
#8337B5 #B537A8 #B53769
triadic
#B537A8 #A8B537 #37A8B5
tetradic
#B537A8 #B58337 #37B544 #3769B5
square
#B537A8 #B58337 #37B544 #3769B5
split-complementary
#B537A8 #69B537 #37B583
monochromatic
#571A51 #86297C #B537A8 #CD5CC2 #DC8BD3

Accessibility & contrast

On white

5.15
#B537A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B537A8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537A8#FFFFFF#000000##FFFFFF
##B537A81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#BD446B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b537a8;
/* rgb */ color: rgb(181, 55, 168);
/* oklch */ color: oklch(56.3% 0.203 332.4);
Tailwind
colors: {
  custom: {
    50: '#cf79c2',
    500: '#b537a8',
    950: '#000000',
  },
}
SCSS
$custom: #b537a8;
$custom-light: #cf79c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b537a8",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 306.19,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.2034,
    "h": 332.4
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#B537A8
secondary
#82C689
accent
#DD5A4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B537A8

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

Preview Lab → · Contrast checker → · Palette generator →

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