#B532BA#B532BA

#B532BA is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.223 H 326.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B532BA
RGBrgb(181, 50, 186)
HSLhsl(298, 58%, 46%)
HSVhsv(298, 73%, 73%)
CMYKcmyk(2.7%, 73.1%, 0%, 27.1%)
CIE-LABlab(46.51, 67.38, -44.36)
CIE-LCHlch(46.51, 80.67, 326.64°)
OKLaboklab(56.82% 0.1856 -0.1232)
OKLCHoklch(56.82% 0.223 326.4)
XYZxyz(29.0590, 15.6521, 47.9355)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532BA #37BA32
analogous
#7132BA #B532BA #BA327B
triadic
#B532BA #BAB532 #32BAB5
tetradic
#B532BA #BA7132 #37BA32 #327BBA
square
#B532BA #BA7132 #37BA32 #327BBA
split-complementary
#B532BA #7BBA32 #32BA71
monochromatic
#57185A #86258A #B532BA #CD57D2 #DC88DF

Accessibility & contrast

On white

5.08
#B532BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B532BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532BA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532BA#FFFFFF#000000##FFFFFF
##B532BA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BE
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#BA4974
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b532ba;
/* rgb */ color: rgb(181, 50, 186);
/* oklch */ color: oklch(56.8% 0.223 326.4);
Tailwind
colors: {
  custom: {
    50: '#cf77cf',
    500: '#b532ba',
    950: '#000000',
  },
}
SCSS
$custom: #b532ba;
$custom-light: #cf77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b532ba",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 297.794,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.2228,
    "h": 326.4
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#B532BA
secondary
#82C97F
accent
#E1474D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B532BA

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

Preview Lab → · Contrast checker → · Palette generator →

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