#B537B7#B537B7

#B537B7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.215 H 327.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B537B7
RGBrgb(181, 55, 183)
HSLhsl(299, 54%, 47%)
HSVhsv(299, 70%, 72%)
CMYKcmyk(1.1%, 69.9%, 0%, 28.2%)
CIE-LABlab(46.94, 65.18, -41.92)
CIE-LCHlch(46.94, 77.50, 327.25°)
OKLaboklab(57.08% 0.1809 -0.1162)
OKLCHoklch(57.08% 0.215 327.3)
XYZxyz(28.9690, 15.9770, 46.3486)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537B7 #39B737
analogous
#7537B7 #B537B7 #B73779
triadic
#B537B7 #B7B537 #37B7B5
tetradic
#B537B7 #B77537 #39B737 #3779B7
square
#B537B7 #B77537 #39B737 #3779B7
split-complementary
#B537B7 #79B737 #37B775
monochromatic
#581B59 #862988 #B537B7 #CD5DCE #DB8CDC

Accessibility & contrast

On white

5.01
#B537B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B537B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537B7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537B7#FFFFFF#000000##FFFFFF
##B537B71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#BA4A73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b537b7;
/* rgb */ color: rgb(181, 55, 183);
/* oklch */ color: oklch(57.1% 0.215 327.3);
Tailwind
colors: {
  custom: {
    50: '#cf79cd',
    500: '#b537b7',
    950: '#000000',
  },
}
SCSS
$custom: #b537b7;
$custom-light: #cf79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b537b7",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 299.063,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.21497,
    "h": 327.3
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#B537B7
secondary
#84C783
accent
#DD4B4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B537B7

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

Preview Lab → · Contrast checker → · Palette generator →

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