#B532B4#B532B4

#B532B4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.218 H 328.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B532B4
RGBrgb(181, 50, 180)
HSLhsl(300, 57%, 45%)
HSVhsv(300, 72%, 71%)
CMYKcmyk(0%, 72.4%, 0.6%, 29%)
CIE-LABlab(46.18, 66.39, -41.38)
CIE-LCHlch(46.18, 78.23, 328.07°)
OKLaboklab(56.48% 0.1857 -0.1146)
OKLCHoklch(56.48% 0.218 328.3)
XYZxyz(28.4346, 15.4023, 44.6465)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532B4 #32B533
analogous
#7432B5 #B532B4 #B53272
triadic
#B532B4 #B4B532 #32B4B5
tetradic
#B532B4 #B57432 #32B533 #3272B5
square
#B532B4 #B57432 #32B533 #3272B5
split-complementary
#B532B4 #72B532 #32B574
monochromatic
#551855 #852584 #B532B4 #D054CF #DD84DC

Accessibility & contrast

On white

5.15
#B532B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B532B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532B4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532B4#FFFFFF#000000##FFFFFF
##B532B41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B8
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#BB4670
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b532b4;
/* rgb */ color: rgb(181, 50, 180);
/* oklch */ color: oklch(56.5% 0.218 328.3);
Tailwind
colors: {
  custom: {
    50: '#cf77cb',
    500: '#b532b4',
    950: '#000000',
  },
}
SCSS
$custom: #b532b4;
$custom-light: #cf77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b532b4",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 300.458,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.21817,
    "h": 328.3
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#B532B4
secondary
#7CC77D
accent
#E04948
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B532B4

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

Preview Lab → · Contrast checker → · Palette generator →

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