#B532AF#B532AF

#B532AF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.214 H 330.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B532AF
RGBrgb(181, 50, 175)
HSLhsl(303, 57%, 45%)
HSVhsv(303, 72%, 71%)
CMYKcmyk(0%, 72.4%, 3.3%, 29%)
CIE-LABlab(45.91, 65.58, -38.86)
CIE-LCHlch(45.91, 76.23, 329.35°)
OKLaboklab(56.2% 0.1856 -0.1073)
OKLCHoklch(56.2% 0.214 330)
XYZxyz(27.9344, 15.2023, 42.0122)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532AF #32B538
analogous
#7932B5 #B532AF #B5326D
triadic
#B532AF #AFB532 #32AFB5
tetradic
#B532AF #B57932 #32B538 #326DB5
square
#B532AF #B57932 #32B538 #326DB5
split-complementary
#B532AF #6DB532 #32B579
monochromatic
#551852 #852581 #B532AF #D054CA #DD84D9

Accessibility & contrast

On white

5.20
#B532AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B532AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532AF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532AF#FFFFFF#000000##FFFFFF
##B532AF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#BC436E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b532af;
/* rgb */ color: rgb(181, 50, 175);
/* oklch */ color: oklch(56.2% 0.214 330.0);
Tailwind
colors: {
  custom: {
    50: '#cf77c7',
    500: '#b532af',
    950: '#000000',
  },
}
SCSS
$custom: #b532af;
$custom-light: #cf77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b532af",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 302.748,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.21437,
    "h": 330
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#B532AF
secondary
#7CC780
accent
#E04F48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B532AF

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

Preview Lab → · Contrast checker → · Palette generator →

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