#B332AF#B332AF

#B332AF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.213 H 329.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B332AF
RGBrgb(179, 50, 175)
HSLhsl(302, 56%, 45%)
HSVhsv(302, 72%, 70%)
CMYKcmyk(0%, 72.1%, 2.2%, 29.8%)
CIE-LABlab(45.58, 65.13, -39.40)
CIE-LCHlch(45.58, 76.12, 328.83°)
OKLaboklab(55.9% 0.1835 -0.1089)
OKLCHoklch(55.9% 0.213 329.3)
XYZxyz(27.4687, 14.9621, 41.9904)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332AF #32B336
analogous
#7632B3 #B332AF #B3326F
triadic
#B332AF #AFB332 #32AFB3
tetradic
#B332AF #B37632 #32B336 #326FB3
square
#B332AF #B37632 #32B336 #326FB3
split-complementary
#B332AF #6FB332 #32B376
monochromatic
#531751 #832580 #B332AF #CF53CB #DC83DA

Accessibility & contrast

On white

5.26
#B332AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B332AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332AF#FFFFFF#000000##FFFFFF
##B332AF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#B9446E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b332af;
/* rgb */ color: rgb(179, 50, 175);
/* oklch */ color: oklch(55.9% 0.213 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c7',
    500: '#b332af',
    950: '#000000',
  },
}
SCSS
$custom: #b332af;
$custom-light: #cd77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b332af",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 301.86,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.21336,
    "h": 329.3
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#B332AF
secondary
#7BC67D
accent
#E04D48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B332AF

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

Preview Lab → · Contrast checker → · Palette generator →

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