#B332AC#B332AC

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

Color values

HEX#B332AC
RGBrgb(179, 50, 172)
HSLhsl(303, 56%, 45%)
HSVhsv(303, 72%, 70%)
CMYKcmyk(0%, 72.1%, 3.9%, 29.8%)
CIE-LABlab(45.42, 64.65, -37.88)
CIE-LCHlch(45.42, 74.93, 329.63°)
OKLaboklab(55.73% 0.1834 -0.1045)
OKLCHoklch(55.73% 0.211 330.3)
XYZxyz(27.1773, 14.8456, 40.4558)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332AC #32B339
analogous
#7A32B3 #B332AC #B3326B
triadic
#B332AC #ACB332 #32ACB3
tetradic
#B332AC #B37A32 #32B339 #326BB3
square
#B332AC #B37A32 #32B339 #326BB3
split-complementary
#B332AC #6BB332 #32B37A
monochromatic
#531750 #83257E #B332AC #CF53C8 #DC83D8

Accessibility & contrast

On white

5.29
#B332AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B332AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332AC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332AC#FFFFFF#000000##FFFFFF
##B332AC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#BA426C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b332ac;
/* rgb */ color: rgb(179, 50, 172);
/* oklch */ color: oklch(55.7% 0.211 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c5',
    500: '#b332ac',
    950: '#000000',
  },
}
SCSS
$custom: #b332ac;
$custom-light: #cd77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b332ac",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 303.256,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.21108,
    "h": 330.3
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B332AC

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

Preview Lab → · Contrast checker → · Palette generator →

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