#B532BB#B532BB

#B532BB is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.224 H 326.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B532BB
RGBrgb(181, 50, 187)
HSLhsl(297, 58%, 46%)
HSVhsv(297, 73%, 73%)
CMYKcmyk(3.2%, 73.3%, 0%, 26.7%)
CIE-LABlab(46.57, 67.54, -44.86)
CIE-LCHlch(46.57, 81.08, 326.41°)
OKLaboklab(56.88% 0.1856 -0.1247)
OKLCHoklch(56.88% 0.224 326.1)
XYZxyz(29.1657, 15.6948, 48.4973)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532BB #38BB32
analogous
#7132BB #B532BB #BB327D
triadic
#B532BB #BBB532 #32BBB5
tetradic
#B532BB #BB7132 #38BB32 #327DBB
square
#B532BB #BB7132 #38BB32 #327DBB
split-complementary
#B532BB #7DBB32 #32BB71
monochromatic
#58185A #86258B #B532BB #CD58D2 #DB88DF

Accessibility & contrast

On white

5.07
#B532BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B532BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532BB#FFFFFF#000000##FFFFFF
##B532BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#BA4974
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b532bb;
/* rgb */ color: rgb(181, 50, 187);
/* oklch */ color: oklch(56.9% 0.224 326.1);
Tailwind
colors: {
  custom: {
    50: '#cf77d0',
    500: '#b532bb',
    950: '#000000',
  },
}
SCSS
$custom: #b532bb;
$custom-light: #cf77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b532bb",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 297.372,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.22357,
    "h": 326.1
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#B532BB
secondary
#83C980
accent
#E1474E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B532BB

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

Preview Lab → · Contrast checker → · Palette generator →

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