#B532B9#B532B9

#B532B9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.222 H 326.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B532B9
RGBrgb(181, 50, 185)
HSLhsl(298, 57%, 46%)
HSVhsv(298, 73%, 73%)
CMYKcmyk(2.2%, 73%, 0%, 27.5%)
CIE-LABlab(46.46, 67.21, -43.87)
CIE-LCHlch(46.46, 80.26, 326.87°)
OKLaboklab(56.77% 0.1856 -0.1218)
OKLCHoklch(56.77% 0.222 326.7)
XYZxyz(28.9531, 15.6097, 47.3775)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532B9 #36B932
analogous
#7132B9 #B532B9 #B93279
triadic
#B532B9 #B9B532 #32B9B5
tetradic
#B532B9 #B97132 #36B932 #3279B9
square
#B532B9 #B97132 #36B932 #3279B9
split-complementary
#B532B9 #79B932 #32B971
monochromatic
#571859 #862589 #B532B9 #CE57D2 #DC87DF

Accessibility & contrast

On white

5.10
#B532B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B532B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532B9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532B9#FFFFFF#000000##FFFFFF
##B532B91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BD
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#BA4873
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b532b9;
/* rgb */ color: rgb(181, 50, 185);
/* oklch */ color: oklch(56.8% 0.222 326.7);
Tailwind
colors: {
  custom: {
    50: '#cf77ce',
    500: '#b532b9',
    950: '#000000',
  },
}
SCSS
$custom: #b532b9;
$custom-light: #cf77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b532b9",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 298.222,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.22202,
    "h": 326.7
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#B532B9
secondary
#81C87F
accent
#E1474C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B532B9

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

Preview Lab → · Contrast checker → · Palette generator →

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