#B537B9#B537B9

#B537B9 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.217 H 326.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B537B9
RGBrgb(181, 55, 185)
HSLhsl(298, 54%, 47%)
HSVhsv(298, 70%, 73%)
CMYKcmyk(2.2%, 70.3%, 0%, 27.5%)
CIE-LABlab(47.05, 65.51, -42.92)
CIE-LCHlch(47.05, 78.32, 326.77°)
OKLaboklab(57.19% 0.1809 -0.1191)
OKLCHoklch(57.19% 0.217 326.6)
XYZxyz(29.1787, 16.0609, 47.4527)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537B9 #3BB937
analogous
#7437B9 #B537B9 #B9377C
triadic
#B537B9 #B9B537 #37B9B5
tetradic
#B537B9 #B97437 #3BB937 #377CB9
square
#B537B9 #B97437 #3BB937 #377CB9
split-complementary
#B537B9 #7CB937 #37B974
monochromatic
#591B5B #87298A #B537B9 #CC5ECF #DB8DDD

Accessibility & contrast

On white

4.99
#B537B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B537B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537B9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537B9#FFFFFF#000000##FFFFFF
##B537B91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BD
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#BA4B74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b537b9;
/* rgb */ color: rgb(181, 55, 185);
/* oklch */ color: oklch(57.2% 0.217 326.6);
Tailwind
colors: {
  custom: {
    50: '#cf79ce',
    500: '#b537b9',
    950: '#000000',
  },
}
SCSS
$custom: #b537b9;
$custom-light: #cf79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b537b9",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 298.154,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.21655,
    "h": 326.6
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#B537B9
secondary
#86C884
accent
#DE4A4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B537B9

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

Preview Lab → · Contrast checker → · Palette generator →

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