#B532B1#B532B1

#B532B1 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.216 H 329.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B532B1
RGBrgb(181, 50, 177)
HSLhsl(302, 57%, 45%)
HSVhsv(302, 72%, 71%)
CMYKcmyk(0%, 72.4%, 2.2%, 29%)
CIE-LABlab(46.02, 65.90, -39.87)
CIE-LCHlch(46.02, 77.02, 328.83°)
OKLaboklab(56.31% 0.1856 -0.1102)
OKLCHoklch(56.31% 0.216 329.3)
XYZxyz(28.1323, 15.2814, 43.0544)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532B1 #32B536
analogous
#7732B5 #B532B1 #B5326F
triadic
#B532B1 #B1B532 #32B1B5
tetradic
#B532B1 #B57732 #32B536 #326FB5
square
#B532B1 #B57732 #32B536 #326FB5
split-complementary
#B532B1 #6FB532 #32B577
monochromatic
#551853 #852582 #B532B1 #D054CC #DD84DA

Accessibility & contrast

On white

5.18
#B532B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B532B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532B1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532B1#FFFFFF#000000##FFFFFF
##B532B11.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B4
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#BB446F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b532b1;
/* rgb */ color: rgb(181, 50, 177);
/* oklch */ color: oklch(56.3% 0.216 329.3);
Tailwind
colors: {
  custom: {
    50: '#cf77c9',
    500: '#b532b1',
    950: '#000000',
  },
}
SCSS
$custom: #b532b1;
$custom-light: #cf77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b532b1",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 301.832,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.21588,
    "h": 329.3
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#B532B1
secondary
#7CC77F
accent
#E04C48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B532B1

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

Preview Lab → · Contrast checker → · Palette generator →

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