#B532AA#B532AA

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

Color values

HEX#B532AA
RGBrgb(181, 50, 170)
HSLhsl(305, 57%, 45%)
HSVhsv(305, 72%, 71%)
CMYKcmyk(0%, 72.4%, 6.1%, 29%)
CIE-LABlab(45.65, 64.79, -36.32)
CIE-LCHlch(45.65, 74.27, 330.73°)
OKLaboklab(55.92% 0.1854 -0.0999)
OKLCHoklch(55.92% 0.211 331.7)
XYZxyz(27.4524, 15.0095, 39.4737)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532AA #32B53D
analogous
#7E32B5 #B532AA #B53269
triadic
#B532AA #AAB532 #32AAB5
tetradic
#B532AA #B57E32 #32B53D #3269B5
square
#B532AA #B57E32 #32B53D #3269B5
split-complementary
#B532AA #69B532 #32B57E
monochromatic
#551850 #85257D #B532AA #D054C5 #DD84D6

Accessibility & contrast

On white

5.25
#B532AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B532AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532AA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532AA#FFFFFF#000000##FFFFFF
##B532AA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#5B73A7
Tritanopia (blue-blind)
#BC416B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b532aa;
/* rgb */ color: rgb(181, 50, 170);
/* oklch */ color: oklch(55.9% 0.211 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf77c4',
    500: '#b532aa',
    950: '#000000',
  },
}
SCSS
$custom: #b532aa;
$custom-light: #cf77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b532aa",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 305.038,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.21063,
    "h": 331.7
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#B532AA
secondary
#7CC782
accent
#E05548
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B532AA

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

Preview Lab → · Contrast checker → · Palette generator →

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