#B332A1#B332A1

#B332A1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.203 H 334.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B332A1
RGBrgb(179, 50, 161)
HSLhsl(308, 56%, 45%)
HSVhsv(308, 72%, 70%)
CMYKcmyk(0%, 72.1%, 10.1%, 29.8%)
CIE-LABlab(44.86, 62.94, -32.23)
CIE-LCHlch(44.86, 70.71, 332.88°)
OKLaboklab(55.14% 0.1828 -0.0882)
OKLCHoklch(55.14% 0.203 334.2)
XYZxyz(26.1643, 14.4404, 35.1206)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332A1 #32B344
analogous
#8432B3 #B332A1 #B33261
triadic
#B332A1 #A1B332 #32A1B3
tetradic
#B332A1 #B38432 #32B344 #3261B3
square
#B332A1 #B38432 #32B344 #3261B3
split-complementary
#B332A1 #61B332 #32B384
monochromatic
#53174B #832576 #B332A1 #CF53BE #DC83D0

Accessibility & contrast

On white

5.40
#B332A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B332A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332A1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332A1#FFFFFF#000000##FFFFFF
##B332A11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA4
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#BB3D66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b332a1;
/* rgb */ color: rgb(179, 50, 161);
/* oklch */ color: oklch(55.1% 0.203 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd76bd',
    500: '#b332a1',
    950: '#000000',
  },
}
SCSS
$custom: #b332a1;
$custom-light: #cd76bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b332a1",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 308.372,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.20295,
    "h": 334.2
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#B332A1
secondary
#7BC686
accent
#E05D48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B332A1

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

Preview Lab → · Contrast checker → · Palette generator →

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