#B537A2#B537A2

#B537A2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.199 H 334.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B537A2
RGBrgb(181, 55, 162)
HSLhsl(309, 53%, 46%)
HSVhsv(309, 70%, 71%)
CMYKcmyk(0%, 69.6%, 10.5%, 29%)
CIE-LABlab(45.86, 61.81, -31.23)
CIE-LCHlch(45.86, 69.25, 333.19°)
OKLaboklab(55.95% 0.1797 -0.0853)
OKLCHoklch(55.95% 0.199 334.6)
XYZxyz(26.9441, 15.1671, 35.6839)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537A2 #37B54A
analogous
#8937B5 #B537A2 #B53763
triadic
#B537A2 #A2B537 #37A2B5
tetradic
#B537A2 #B58937 #37B54A #3763B5
square
#B537A2 #B58937 #37B54A #3763B5
split-complementary
#B537A2 #63B537 #37B589
monochromatic
#571A4E #862978 #B537A2 #CD5CBC #DC8BCF

Accessibility & contrast

On white

5.21
#B537A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B537A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537A2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537A2#FFFFFF#000000##FFFFFF
##B537A21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#BE4168
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b537a2;
/* rgb */ color: rgb(181, 55, 162);
/* oklch */ color: oklch(55.9% 0.199 334.6);
Tailwind
colors: {
  custom: {
    50: '#cf79be',
    500: '#b537a2',
    950: '#000000',
  },
}
SCSS
$custom: #b537a2;
$custom-light: #cf79be;
$custom-dark: #000000;
JSON
{
  "hex": "#b537a2",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 309.048,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.19896,
    "h": 334.6
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#B537A2
secondary
#82C68C
accent
#DD614B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B537A2

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

Preview Lab → · Contrast checker → · Palette generator →

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