#B537B1#B537B1

#B537B1 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.210 H 329.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B537B1
RGBrgb(181, 55, 177)
HSLhsl(302, 53%, 46%)
HSVhsv(302, 70%, 71%)
CMYKcmyk(0%, 69.6%, 2.2%, 29%)
CIE-LABlab(46.62, 64.18, -38.91)
CIE-LCHlch(46.62, 75.06, 328.77°)
OKLaboklab(56.74% 0.1807 -0.1075)
OKLCHoklch(56.74% 0.21 329.3)
XYZxyz(28.3578, 15.7325, 43.1295)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537B1 #37B53B
analogous
#7A37B5 #B537B1 #B53772
triadic
#B537B1 #B1B537 #37B1B5
tetradic
#B537B1 #B57A37 #37B53B #3772B5
square
#B537B1 #B57A37 #37B53B #3772B5
split-complementary
#B537B1 #72B537 #37B57A
monochromatic
#571A55 #862983 #B537B1 #CD5CCA #DC8BD9

Accessibility & contrast

On white

5.07
#B537B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B537B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537B1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537B1#FFFFFF#000000##FFFFFF
##B537B11.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B4
Deuteranopia (green-blind)
#5A74AE
Tritanopia (blue-blind)
#BB4870
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b537b1;
/* rgb */ color: rgb(181, 55, 177);
/* oklch */ color: oklch(56.7% 0.210 329.3);
Tailwind
colors: {
  custom: {
    50: '#cf79c9',
    500: '#b537b1',
    950: '#000000',
  },
}
SCSS
$custom: #b537b1;
$custom-light: #cf79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b537b1",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 301.905,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.21027,
    "h": 329.3
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#B537B1
secondary
#82C684
accent
#DD504B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B537B1

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

Preview Lab → · Contrast checker → · Palette generator →

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