#B532B6#B532B6

#B532B6 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.220 H 327.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B532B6
RGBrgb(181, 50, 182)
HSLhsl(300, 57%, 45%)
HSVhsv(300, 73%, 71%)
CMYKcmyk(0.5%, 72.5%, 0%, 28.6%)
CIE-LABlab(46.29, 66.71, -42.38)
CIE-LCHlch(46.29, 79.03, 327.58°)
OKLaboklab(56.59% 0.1857 -0.1175)
OKLCHoklch(56.59% 0.22 327.7)
XYZxyz(28.6398, 15.4844, 45.7272)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532B6 #33B632
analogous
#7332B6 #B532B6 #B63275
triadic
#B532B6 #B6B532 #32B6B5
tetradic
#B532B6 #B67332 #33B632 #3275B6
square
#B532B6 #B67332 #33B632 #3275B6
split-complementary
#B532B6 #75B632 #32B673
monochromatic
#561856 #852586 #B532B6 #CF55D0 #DD85DD

Accessibility & contrast

On white

5.13
#B532B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B532B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532B6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532B6#FFFFFF#000000##FFFFFF
##B532B61.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BA
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#BB4771
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b532b6;
/* rgb */ color: rgb(181, 50, 182);
/* oklch */ color: oklch(56.6% 0.220 327.7);
Tailwind
colors: {
  custom: {
    50: '#cf77cc',
    500: '#b532b6',
    950: '#000000',
  },
}
SCSS
$custom: #b532b6;
$custom-light: #cf77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b532b6",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 299.545,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.2197,
    "h": 327.7
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#B532B6
secondary
#7DC77D
accent
#E04849
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B532B6

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

Preview Lab → · Contrast checker → · Palette generator →

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