#B537B8#B537B8

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

Color values

HEX#B537B8
RGBrgb(181, 55, 184)
HSLhsl(299, 54%, 47%)
HSVhsv(299, 70%, 72%)
CMYKcmyk(1.6%, 70.1%, 0%, 27.8%)
CIE-LABlab(47.00, 65.34, -42.42)
CIE-LCHlch(47.00, 77.91, 327.01°)
OKLaboklab(57.14% 0.1809 -0.1176)
OKLCHoklch(57.14% 0.216 327)
XYZxyz(29.0735, 16.0188, 46.8987)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537B8 #3AB837
analogous
#7537B8 #B537B8 #B8377A
triadic
#B537B8 #B8B537 #37B8B5
tetradic
#B537B8 #B87537 #3AB837 #377AB8
square
#B537B8 #B87537 #3AB837 #377AB8
split-complementary
#B537B8 #7AB837 #37B875
monochromatic
#581B5A #872989 #B537B8 #CC5DCF #DB8DDD

Accessibility & contrast

On white

5.00
#B537B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B537B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537B8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537B8#FFFFFF#000000##FFFFFF
##B537B81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BC
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#BA4B74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b537b8;
/* rgb */ color: rgb(181, 55, 184);
/* oklch */ color: oklch(57.1% 0.216 327.0);
Tailwind
colors: {
  custom: {
    50: '#cf79ce',
    500: '#b537b8',
    950: '#000000',
  },
}
SCSS
$custom: #b537b8;
$custom-light: #cf79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b537b8",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 298.605,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.21576,
    "h": 327
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#B537B8
secondary
#85C784
accent
#DD4A4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B537B8

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

Preview Lab → · Contrast checker → · Palette generator →

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