#B332AD#B332AD

#B332AD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.212 H 330.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B332AD
RGBrgb(179, 50, 173)
HSLhsl(303, 56%, 45%)
HSVhsv(303, 72%, 70%)
CMYKcmyk(0%, 72.1%, 3.4%, 29.8%)
CIE-LABlab(45.48, 64.81, -38.39)
CIE-LCHlch(45.48, 75.33, 329.36°)
OKLaboklab(55.79% 0.1834 -0.1059)
OKLCHoklch(55.79% 0.212 330)
XYZxyz(27.2737, 14.8841, 40.9635)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332AD #32B338
analogous
#7932B3 #B332AD #B3326C
triadic
#B332AD #ADB332 #32ADB3
tetradic
#B332AD #B37932 #32B338 #326CB3
square
#B332AD #B37932 #32B338 #326CB3
split-complementary
#B332AD #6CB332 #32B379
monochromatic
#531751 #83257F #B332AD #CF53C9 #DC83D8

Accessibility & contrast

On white

5.28
#B332AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B332AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332AD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332AD#FFFFFF#000000##FFFFFF
##B332AD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360B0
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#BA436C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b332ad;
/* rgb */ color: rgb(179, 50, 173);
/* oklch */ color: oklch(55.8% 0.212 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c6',
    500: '#b332ad',
    950: '#000000',
  },
}
SCSS
$custom: #b332ad;
$custom-light: #cd77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b332ad",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 302.791,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.21184,
    "h": 330
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B332AD

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

Preview Lab → · Contrast checker → · Palette generator →

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