#B537B2#B537B2

#B537B2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.211 H 328.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B537B2
RGBrgb(181, 55, 178)
HSLhsl(301, 53%, 46%)
HSVhsv(301, 70%, 71%)
CMYKcmyk(0%, 69.6%, 1.7%, 29%)
CIE-LABlab(46.67, 64.35, -39.42)
CIE-LCHlch(46.67, 75.46, 328.51°)
OKLaboklab(56.8% 0.1808 -0.1089)
OKLCHoklch(56.8% 0.211 328.9)
XYZxyz(28.4579, 15.7726, 43.6564)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B537B2 #37B53A
analogous
#7937B5 #B537B2 #B53773
triadic
#B537B2 #B2B537 #37B2B5
tetradic
#B537B2 #B57937 #37B53A #3773B5
square
#B537B2 #B57937 #37B53A #3773B5
split-complementary
#B537B2 #73B537 #37B579
monochromatic
#571A56 #862984 #B537B2 #CD5CCB #DC8BDA

Accessibility & contrast

On white

5.06
#B537B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B537B2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B537B2#FFFFFF#000000##FFFFFF
##B537B21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#5A74AF
Tritanopia (blue-blind)
#BB4871
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b537b2;
/* rgb */ color: rgb(181, 55, 178);
/* oklch */ color: oklch(56.8% 0.211 328.9);
Tailwind
colors: {
  custom: {
    50: '#cf79c9',
    500: '#b537b2',
    950: '#000000',
  },
}
SCSS
$custom: #b537b2;
$custom-light: #cf79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b537b2",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 301.429,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56797,
    "c": 0.21105,
    "h": 328.9
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#B537B2
secondary
#82C683
accent
#DD4E4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B537B2

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

Preview Lab → · Contrast checker → · Palette generator →

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