#B537A7#B537A7

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

Color values

HEX#B537A7
RGBrgb(181, 55, 167)
HSLhsl(307, 53%, 46%)
HSVhsv(307, 70%, 71%)
CMYKcmyk(0%, 69.6%, 7.7%, 29%)
CIE-LABlab(46.11, 62.58, -33.82)
CIE-LCHlch(46.11, 71.14, 331.62°)
OKLaboklab(56.21% 0.1802 -0.0927)
OKLCHoklch(56.21% 0.203 332.8)
XYZxyz(27.3974, 15.3484, 38.0713)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537A7 #37B545
analogous
#8437B5 #B537A7 #B53768
triadic
#B537A7 #A7B537 #37A7B5
tetradic
#B537A7 #B58437 #37B545 #3768B5
square
#B537A7 #B58437 #37B545 #3768B5
split-complementary
#B537A7 #68B537 #37B584
monochromatic
#571A50 #86297C #B537A7 #CD5CC1 #DC8BD3

Accessibility & contrast

On white

5.16
#B537A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B537A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537A7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537A7#FFFFFF#000000##FFFFFF
##B537A71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#BD436B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b537a7;
/* rgb */ color: rgb(181, 55, 167);
/* oklch */ color: oklch(56.2% 0.203 332.8);
Tailwind
colors: {
  custom: {
    50: '#cf79c1',
    500: '#b537a7',
    950: '#000000',
  },
}
SCSS
$custom: #b537a7;
$custom-light: #cf79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b537a7",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 306.667,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.20265,
    "h": 332.8
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#B537A7
secondary
#82C689
accent
#DD5B4B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B537A7

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

Preview Lab → · Contrast checker → · Palette generator →

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