#B332A3#B332A3

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

Color values

HEX#B332A3
RGBrgb(179, 50, 163)
HSLhsl(307, 56%, 45%)
HSVhsv(307, 72%, 70%)
CMYKcmyk(0%, 72.1%, 8.9%, 29.8%)
CIE-LABlab(44.96, 63.24, -33.27)
CIE-LCHlch(44.96, 71.46, 332.25°)
OKLaboklab(55.25% 0.1829 -0.0912)
OKLCHoklch(55.25% 0.204 333.5)
XYZxyz(26.3420, 14.5115, 36.0569)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332A3 #32B342
analogous
#8332B3 #B332A3 #B33262
triadic
#B332A3 #A3B332 #32A3B3
tetradic
#B332A3 #B38332 #32B342 #3262B3
square
#B332A3 #B38332 #32B342 #3262B3
split-complementary
#B332A3 #62B332 #32B383
monochromatic
#53174C #832577 #B332A3 #CF53C0 #DC83D1

Accessibility & contrast

On white

5.38
#B332A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B332A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332A3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332A3#FFFFFF#000000##FFFFFF
##B332A31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#BB3E67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b332a3;
/* rgb */ color: rgb(179, 50, 163);
/* oklch */ color: oklch(55.2% 0.204 333.5);
Tailwind
colors: {
  custom: {
    50: '#cd76be',
    500: '#b332a3',
    950: '#000000',
  },
}
SCSS
$custom: #b332a3;
$custom-light: #cd76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b332a3",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 307.442,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.2044,
    "h": 333.5
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B332A3

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

Preview Lab → · Contrast checker → · Palette generator →

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