#B332A5#B332A5

#B332A5 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.206 H 332.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B332A5
RGBrgb(179, 50, 165)
HSLhsl(307, 56%, 45%)
HSVhsv(307, 72%, 70%)
CMYKcmyk(0%, 72.1%, 7.8%, 29.8%)
CIE-LABlab(45.06, 63.55, -34.30)
CIE-LCHlch(45.06, 72.22, 331.64°)
OKLaboklab(55.35% 0.1831 -0.0941)
OKLCHoklch(55.35% 0.206 332.8)
XYZxyz(26.5227, 14.5837, 37.0081)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332A5 #32B340
analogous
#8132B3 #B332A5 #B33264
triadic
#B332A5 #A5B332 #32A5B3
tetradic
#B332A5 #B38132 #32B340 #3264B3
square
#B332A5 #B38132 #32B340 #3264B3
split-complementary
#B332A5 #64B332 #32B381
monochromatic
#53174D #832579 #B332A5 #CF53C2 #DC83D3

Accessibility & contrast

On white

5.36
#B332A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B332A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332A5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332A5#FFFFFF#000000##FFFFFF
##B332A51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#BB3F68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b332a5;
/* rgb */ color: rgb(179, 50, 165);
/* oklch */ color: oklch(55.4% 0.206 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd76c0',
    500: '#b332a5',
    950: '#000000',
  },
}
SCSS
$custom: #b332a5;
$custom-light: #cd76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b332a5",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 306.512,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.20587,
    "h": 332.8
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#B332A5
secondary
#7BC683
accent
#E05948
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B332A5

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

Preview Lab → · Contrast checker → · Palette generator →

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