#B332A4#B332A4

#B332A4 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.205 H 333.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B332A4
RGBrgb(179, 50, 164)
HSLhsl(307, 56%, 45%)
HSVhsv(307, 72%, 70%)
CMYKcmyk(0%, 72.1%, 8.4%, 29.8%)
CIE-LABlab(45.01, 63.40, -33.79)
CIE-LCHlch(45.01, 71.84, 331.95°)
OKLaboklab(55.3% 0.183 -0.0927)
OKLCHoklch(55.3% 0.205 333.1)
XYZxyz(26.4320, 14.5475, 36.5306)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332A4 #32B341
analogous
#8232B3 #B332A4 #B33263
triadic
#B332A4 #A4B332 #32A4B3
tetradic
#B332A4 #B38232 #32B341 #3263B3
square
#B332A4 #B38232 #32B341 #3263B3
split-complementary
#B332A4 #63B332 #32B382
monochromatic
#53174C #832578 #B332A4 #CF53C1 #DC83D2

Accessibility & contrast

On white

5.37
#B332A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B332A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332A4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332A4#FFFFFF#000000##FFFFFF
##B332A41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#5D71A1
Tritanopia (blue-blind)
#BB3F67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b332a4;
/* rgb */ color: rgb(179, 50, 164);
/* oklch */ color: oklch(55.3% 0.205 333.1);
Tailwind
colors: {
  custom: {
    50: '#cd76bf',
    500: '#b332a4',
    950: '#000000',
  },
}
SCSS
$custom: #b332a4;
$custom-light: #cd76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b332a4",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 306.977,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.20514,
    "h": 333.1
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#B332A4
secondary
#7BC684
accent
#E05A48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B332A4

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

Preview Lab → · Contrast checker → · Palette generator →

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