#B532AC#B532AC

#B532AC is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.212 H 331.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B532AC
RGBrgb(181, 50, 172)
HSLhsl(304, 57%, 45%)
HSVhsv(304, 72%, 71%)
CMYKcmyk(0%, 72.4%, 5%, 29%)
CIE-LABlab(45.75, 65.10, -37.34)
CIE-LCHlch(45.75, 75.05, 330.16°)
OKLaboklab(56.03% 0.1855 -0.1029)
OKLCHoklch(56.03% 0.212 331)
XYZxyz(27.6430, 15.0857, 40.4776)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532AC #32B53B
analogous
#7C32B5 #B532AC #B5326B
triadic
#B532AC #ACB532 #32ACB5
tetradic
#B532AC #B57C32 #32B53B #326BB5
square
#B532AC #B57C32 #32B53B #326BB5
split-complementary
#B532AC #6BB532 #32B57C
monochromatic
#551851 #85257E #B532AC #D054C7 #DD84D7

Accessibility & contrast

On white

5.23
#B532AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B532AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532AC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532AC#FFFFFF#000000##FFFFFF
##B532AC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#BC426C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b532ac;
/* rgb */ color: rgb(181, 50, 172);
/* oklch */ color: oklch(56.0% 0.212 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf77c5',
    500: '#b532ac',
    950: '#000000',
  },
}
SCSS
$custom: #b532ac;
$custom-light: #cf77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b532ac",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 304.122,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.21211,
    "h": 331
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#B532AC
secondary
#7CC781
accent
#E05248
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B532AC

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

Preview Lab → · Contrast checker → · Palette generator →

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