#B332A8#B332A8

#B332A8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.208 H 331.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B332A8
RGBrgb(179, 50, 168)
HSLhsl(305, 56%, 45%)
HSVhsv(305, 72%, 70%)
CMYKcmyk(0%, 72.1%, 6.1%, 29.8%)
CIE-LABlab(45.21, 64.02, -35.84)
CIE-LCHlch(45.21, 73.37, 330.76°)
OKLaboklab(55.51% 0.1833 -0.0986)
OKLCHoklch(55.51% 0.208 331.7)
XYZxyz(26.7989, 14.6942, 38.4630)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332A8 #32B33D
analogous
#7D32B3 #B332A8 #B33268
triadic
#B332A8 #A8B332 #32A8B3
tetradic
#B332A8 #B37D32 #32B33D #3268B3
square
#B332A8 #B37D32 #32B33D #3268B3
split-complementary
#B332A8 #68B332 #32B37D
monochromatic
#53174E #83257B #B332A8 #CF53C4 #DC83D5

Accessibility & contrast

On white

5.33
#B332A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B332A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332A8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332A8#FFFFFF#000000##FFFFFF
##B332A81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAB
Deuteranopia (green-blind)
#5B71A5
Tritanopia (blue-blind)
#BA416A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b332a8;
/* rgb */ color: rgb(179, 50, 168);
/* oklch */ color: oklch(55.5% 0.208 331.7);
Tailwind
colors: {
  custom: {
    50: '#cd76c2',
    500: '#b332a8',
    950: '#000000',
  },
}
SCSS
$custom: #b332a8;
$custom-light: #cd76c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b332a8",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 305.116,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.20808,
    "h": 331.7
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B332A8

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

Preview Lab → · Contrast checker → · Palette generator →

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