#B537A6#B537A6

#B537A6 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.202 H 333.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B537A6
RGBrgb(181, 55, 166)
HSLhsl(307, 53%, 46%)
HSVhsv(307, 70%, 71%)
CMYKcmyk(0%, 69.6%, 8.3%, 29%)
CIE-LABlab(46.06, 62.43, -33.30)
CIE-LCHlch(46.06, 70.75, 331.92°)
OKLaboklab(56.15% 0.1801 -0.0913)
OKLCHoklch(56.15% 0.202 333.1)
XYZxyz(27.3053, 15.3115, 37.5863)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537A6 #37B546
analogous
#8537B5 #B537A6 #B53767
triadic
#B537A6 #A6B537 #37A6B5
tetradic
#B537A6 #B58537 #37B546 #3767B5
square
#B537A6 #B58537 #37B546 #3767B5
split-complementary
#B537A6 #67B537 #37B585
monochromatic
#571A50 #86297B #B537A6 #CD5CC0 #DC8BD2

Accessibility & contrast

On white

5.17
#B537A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B537A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537A6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537A6#FFFFFF#000000##FFFFFF
##B537A61.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#5F74A3
Tritanopia (blue-blind)
#BD436A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b537a6;
/* rgb */ color: rgb(181, 55, 166);
/* oklch */ color: oklch(56.2% 0.202 333.1);
Tailwind
colors: {
  custom: {
    50: '#cf79c1',
    500: '#b537a6',
    950: '#000000',
  },
}
SCSS
$custom: #b537a6;
$custom-light: #cf79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b537a6",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 307.143,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.2019,
    "h": 333.1
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#B537A6
secondary
#82C68A
accent
#DD5C4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B537A6

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

Preview Lab → · Contrast checker → · Palette generator →

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