#B532AB#B532AB

#B532AB is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.211 H 331.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B532AB
RGBrgb(181, 50, 171)
HSLhsl(305, 57%, 45%)
HSVhsv(305, 72%, 71%)
CMYKcmyk(0%, 72.4%, 5.5%, 29%)
CIE-LABlab(45.70, 64.95, -36.83)
CIE-LCHlch(45.70, 74.66, 330.44°)
OKLaboklab(55.98% 0.1855 -0.1014)
OKLCHoklch(55.98% 0.211 331.3)
XYZxyz(27.5473, 15.0474, 39.9738)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532AB #32B53C
analogous
#7D32B5 #B532AB #B5326A
triadic
#B532AB #ABB532 #32ABB5
tetradic
#B532AB #B57D32 #32B53C #326AB5
square
#B532AB #B57D32 #32B53C #326AB5
split-complementary
#B532AB #6AB532 #32B57D
monochromatic
#551850 #85257E #B532AB #D054C6 #DD84D6

Accessibility & contrast

On white

5.24
#B532AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B532AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532AB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532AB#FFFFFF#000000##FFFFFF
##B532AB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AE
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#BC416B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b532ab;
/* rgb */ color: rgb(181, 50, 171);
/* oklch */ color: oklch(56.0% 0.211 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf77c4',
    500: '#b532ab',
    950: '#000000',
  },
}
SCSS
$custom: #b532ab;
$custom-light: #cf77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b532ab",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 304.58,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.21137,
    "h": 331.3
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#B532AB
secondary
#7CC782
accent
#E05348
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B532AB

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

Preview Lab → · Contrast checker → · Palette generator →

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