#B332AB#B332AB

#B332AB is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.210 H 330.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B332AB
RGBrgb(179, 50, 171)
HSLhsl(304, 56%, 45%)
HSVhsv(304, 72%, 70%)
CMYKcmyk(0%, 72.1%, 4.5%, 29.8%)
CIE-LABlab(45.37, 64.49, -37.37)
CIE-LCHlch(45.37, 74.54, 329.91°)
OKLaboklab(55.68% 0.1834 -0.103)
OKLCHoklch(55.68% 0.21 330.7)
XYZxyz(27.0816, 14.8073, 39.9519)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332AB #32B33A
analogous
#7B32B3 #B332AB #B3326A
triadic
#B332AB #ABB332 #32ABB3
tetradic
#B332AB #B37B32 #32B33A #326AB3
square
#B332AB #B37B32 #32B33A #326AB3
split-complementary
#B332AB #6AB332 #32B37B
monochromatic
#531750 #83257D #B332AB #CF53C7 #DC83D7

Accessibility & contrast

On white

5.30
#B332AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B332AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332AB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332AB#FFFFFF#000000##FFFFFF
##B332AB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#5972A8
Tritanopia (blue-blind)
#BA426B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b332ab;
/* rgb */ color: rgb(179, 50, 171);
/* oklch */ color: oklch(55.7% 0.210 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c4',
    500: '#b332ab',
    950: '#000000',
  },
}
SCSS
$custom: #b332ab;
$custom-light: #cd77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b332ab",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 303.721,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.21033,
    "h": 330.7
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#B332AB
secondary
#7BC680
accent
#E05248
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B332AB

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

Preview Lab → · Contrast checker → · Palette generator →

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