#B532A2#B532A2

#B532A2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.205 H 334.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B532A2
RGBrgb(181, 50, 162)
HSLhsl(309, 57%, 45%)
HSVhsv(309, 72%, 71%)
CMYKcmyk(0%, 72.4%, 10.5%, 29%)
CIE-LABlab(45.24, 63.56, -32.20)
CIE-LCHlch(45.24, 71.25, 333.13°)
OKLaboklab(55.5% 0.1849 -0.0881)
OKLCHoklch(55.5% 0.205 334.5)
XYZxyz(26.7185, 14.7159, 35.6087)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532A2 #32B545
analogous
#8632B5 #B532A2 #B53261
triadic
#B532A2 #A2B532 #32A2B5
tetradic
#B532A2 #B58632 #32B545 #3261B5
square
#B532A2 #B58632 #32B545 #3261B5
split-complementary
#B532A2 #61B532 #32B586
monochromatic
#55184C #852577 #B532A2 #D054BE #DD84D0

Accessibility & contrast

On white

5.33
#B532A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B532A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532A2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532A2#FFFFFF#000000##FFFFFF
##B532A21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#BE3D66
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b532a2;
/* rgb */ color: rgb(181, 50, 162);
/* oklch */ color: oklch(55.5% 0.205 334.5);
Tailwind
colors: {
  custom: {
    50: '#cf76be',
    500: '#b532a2',
    950: '#000000',
  },
}
SCSS
$custom: #b532a2;
$custom-light: #cf76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b532a2",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 308.702,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.555,
    "c": 0.2048,
    "h": 334.5
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#B532A2
secondary
#7CC787
accent
#E05E48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B532A2

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

Preview Lab → · Contrast checker → · Palette generator →

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