#B537B4#B537B4

#B537B4 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.213 H 328.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B537B4
RGBrgb(181, 55, 180)
HSLhsl(300, 53%, 46%)
HSVhsv(300, 70%, 71%)
CMYKcmyk(0%, 69.6%, 0.6%, 29%)
CIE-LABlab(46.78, 64.68, -40.42)
CIE-LCHlch(46.78, 76.27, 327.99°)
OKLaboklab(56.91% 0.1808 -0.1118)
OKLCHoklch(56.91% 0.213 328.3)
XYZxyz(28.6601, 15.8535, 44.7217)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537B4 #37B538
analogous
#7737B5 #B537B4 #B53775
triadic
#B537B4 #B4B537 #37B4B5
tetradic
#B537B4 #B57737 #37B538 #3775B5
square
#B537B4 #B57737 #37B538 #3775B5
split-complementary
#B537B4 #75B537 #37B577
monochromatic
#571A57 #862985 #B537B4 #CD5CCD #DC8BDB

Accessibility & contrast

On white

5.04
#B537B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B537B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B537B4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537B4#FFFFFF#000000##FFFFFF
##B537B41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B8
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#BB4972
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b537b4;
/* rgb */ color: rgb(181, 55, 180);
/* oklch */ color: oklch(56.9% 0.213 328.3);
Tailwind
colors: {
  custom: {
    50: '#cf79cb',
    500: '#b537b4',
    950: '#000000',
  },
}
SCSS
$custom: #b537b4;
$custom-light: #cf79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b537b4",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 300.476,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.21261,
    "h": 328.3
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#B537B4
secondary
#82C682
accent
#DD4C4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B537B4

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

Preview Lab → · Contrast checker → · Palette generator →

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