#B332AE#B332AE

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

Color values

HEX#B332AE
RGBrgb(179, 50, 174)
HSLhsl(302, 56%, 45%)
HSVhsv(302, 72%, 70%)
CMYKcmyk(0%, 72.1%, 2.8%, 29.8%)
CIE-LABlab(45.53, 64.97, -38.90)
CIE-LCHlch(45.53, 75.72, 329.09°)
OKLaboklab(55.84% 0.1835 -0.1074)
OKLCHoklch(55.84% 0.213 329.7)
XYZxyz(27.3708, 14.9230, 41.4750)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332AE #32B337
analogous
#7832B3 #B332AE #B3326D
triadic
#B332AE #AEB332 #32AEB3
tetradic
#B332AE #B37832 #32B337 #326DB3
square
#B332AE #B37832 #32B337 #326DB3
split-complementary
#B332AE #6DB332 #32B378
monochromatic
#531751 #83257F #B332AE #CF53CA #DC83D9

Accessibility & contrast

On white

5.27
#B332AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B332AE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332AE#FFFFFF#000000##FFFFFF
##B332AE1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#B9436D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b332ae;
/* rgb */ color: rgb(179, 50, 174);
/* oklch */ color: oklch(55.8% 0.213 329.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c6',
    500: '#b332ae',
    950: '#000000',
  },
}
SCSS
$custom: #b332ae;
$custom-light: #cd77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b332ae",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 302.326,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.2126,
    "h": 329.7
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#B332AE
secondary
#7BC67E
accent
#E04E48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B332AE

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

Preview Lab → · Contrast checker → · Palette generator →

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