#B332A2#B332A2

#B332A2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.204 H 333.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B332A2
RGBrgb(179, 50, 162)
HSLhsl(308, 56%, 45%)
HSVhsv(308, 72%, 70%)
CMYKcmyk(0%, 72.1%, 9.5%, 29.8%)
CIE-LABlab(44.91, 63.09, -32.75)
CIE-LCHlch(44.91, 71.09, 332.56°)
OKLaboklab(55.19% 0.1829 -0.0897)
OKLCHoklch(55.19% 0.204 333.9)
XYZxyz(26.2528, 14.4758, 35.5869)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332A2 #32B343
analogous
#8432B3 #B332A2 #B33261
triadic
#B332A2 #A2B332 #32A2B3
tetradic
#B332A2 #B38432 #32B343 #3261B3
square
#B332A2 #B38432 #32B343 #3261B3
split-complementary
#B332A2 #61B332 #32B384
monochromatic
#53174B #832577 #B332A2 #CF53BF #DC83D1

Accessibility & contrast

On white

5.39
#B332A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B332A2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332A2#FFFFFF#000000##FFFFFF
##B332A21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#BB3E66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b332a2;
/* rgb */ color: rgb(179, 50, 162);
/* oklch */ color: oklch(55.2% 0.204 333.9);
Tailwind
colors: {
  custom: {
    50: '#cd76be',
    500: '#b332a2',
    950: '#000000',
  },
}
SCSS
$custom: #b332a2;
$custom-light: #cd76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b332a2",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 307.907,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.20368,
    "h": 333.9
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#B332A2
secondary
#7BC685
accent
#E05C48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B332A2

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

Preview Lab → · Contrast checker → · Palette generator →

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