#B332A9#B332A9

#B332A9 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.209 H 331.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B332A9
RGBrgb(179, 50, 169)
HSLhsl(305, 56%, 45%)
HSVhsv(305, 72%, 70%)
CMYKcmyk(0%, 72.1%, 5.6%, 29.8%)
CIE-LABlab(45.26, 64.18, -36.35)
CIE-LCHlch(45.26, 73.76, 330.47°)
OKLaboklab(55.57% 0.1833 -0.1001)
OKLCHoklch(55.57% 0.209 331.4)
XYZxyz(26.8924, 14.7316, 38.9555)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332A9 #32B33C
analogous
#7C32B3 #B332A9 #B33269
triadic
#B332A9 #A9B332 #32A9B3
tetradic
#B332A9 #B37C32 #32B33C #3269B3
square
#B332A9 #B37C32 #32B33C #3269B3
split-complementary
#B332A9 #69B332 #32B37C
monochromatic
#53174F #83257C #B332A9 #CF53C5 #DC83D5

Accessibility & contrast

On white

5.32
#B332A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B332A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332A9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332A9#FFFFFF#000000##FFFFFF
##B332A91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AC
Deuteranopia (green-blind)
#5A71A6
Tritanopia (blue-blind)
#BA416A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b332a9;
/* rgb */ color: rgb(179, 50, 169);
/* oklch */ color: oklch(55.6% 0.209 331.4);
Tailwind
colors: {
  custom: {
    50: '#cd76c3',
    500: '#b332a9',
    950: '#000000',
  },
}
SCSS
$custom: #b332a9;
$custom-light: #cd76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b332a9",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 304.651,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55567,
    "c": 0.20883,
    "h": 331.4
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#B332A9
secondary
#7BC681
accent
#E05448
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B332A9

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

Preview Lab → · Contrast checker → · Palette generator →

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