#B532B2#B532B2

#B532B2 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.217 H 329.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B532B2
RGBrgb(181, 50, 178)
HSLhsl(301, 57%, 45%)
HSVhsv(301, 72%, 71%)
CMYKcmyk(0%, 72.4%, 1.7%, 29%)
CIE-LABlab(46.07, 66.06, -40.37)
CIE-LCHlch(46.07, 77.42, 328.57°)
OKLaboklab(56.36% 0.1857 -0.1116)
OKLCHoklch(56.36% 0.217 329)
XYZxyz(28.2323, 15.3214, 43.5812)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B532B2 #32B535
analogous
#7632B5 #B532B2 #B53270
triadic
#B532B2 #B2B532 #32B2B5
tetradic
#B532B2 #B57632 #32B535 #3270B5
square
#B532B2 #B57632 #32B535 #3270B5
split-complementary
#B532B2 #70B532 #32B576
monochromatic
#551854 #852583 #B532B2 #D054CD #DD84DB

Accessibility & contrast

On white

5.17
#B532B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B532B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B532B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B532B2#FFFFFF#000000##FFFFFF
##B532B21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#BB456F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b532b2;
/* rgb */ color: rgb(181, 50, 178);
/* oklch */ color: oklch(56.4% 0.217 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf77c9',
    500: '#b532b2',
    950: '#000000',
  },
}
SCSS
$custom: #b532b2;
$custom-light: #cf77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b532b2",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 301.374,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.21664,
    "h": 329
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#B532B2
secondary
#7CC77E
accent
#E04B48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B532B2

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

Preview Lab → · Contrast checker → · Palette generator →

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