#B332AA#B332AA

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

Color values

HEX#B332AA
RGBrgb(179, 50, 170)
HSLhsl(304, 56%, 45%)
HSVhsv(304, 72%, 70%)
CMYKcmyk(0%, 72.1%, 5%, 29.8%)
CIE-LABlab(45.32, 64.33, -36.86)
CIE-LCHlch(45.32, 74.15, 330.19°)
OKLaboklab(55.62% 0.1833 -0.1015)
OKLCHoklch(55.62% 0.21 331)
XYZxyz(26.9867, 14.7693, 39.4518)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332AA #32B33B
analogous
#7C32B3 #B332AA #B3326A
triadic
#B332AA #AAB332 #32AAB3
tetradic
#B332AA #B37C32 #32B33B #326AB3
square
#B332AA #B37C32 #32B33B #326AB3
split-complementary
#B332AA #6AB332 #32B37C
monochromatic
#53174F #83257D #B332AA #CF53C6 #DC83D6

Accessibility & contrast

On white

5.31
#B332AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B332AA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332AA#FFFFFF#000000##FFFFFF
##B332AA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#BA426B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b332aa;
/* rgb */ color: rgb(179, 50, 170);
/* oklch */ color: oklch(55.6% 0.210 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd76c4',
    500: '#b332aa',
    950: '#000000',
  },
}
SCSS
$custom: #b332aa;
$custom-light: #cd76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b332aa",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 304.186,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.20958,
    "h": 331
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#B332AA
secondary
#7BC680
accent
#E05348
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B332AA

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

Preview Lab → · Contrast checker → · Palette generator →

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