#B332B0#B332B0

#B332B0 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.214 H 329.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B332B0
RGBrgb(179, 50, 176)
HSLhsl(301, 56%, 45%)
HSVhsv(301, 72%, 70%)
CMYKcmyk(0%, 72.1%, 1.7%, 29.8%)
CIE-LABlab(45.64, 65.30, -39.91)
CIE-LCHlch(45.64, 76.52, 328.57°)
OKLaboklab(55.95% 0.1835 -0.1103)
OKLCHoklch(55.95% 0.214 329)
XYZxyz(27.5672, 15.0015, 42.5095)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332B0 #32B335
analogous
#7532B3 #B332B0 #B33270
triadic
#B332B0 #B0B332 #32B0B3
tetradic
#B332B0 #B37532 #32B335 #3270B3
square
#B332B0 #B37532 #32B335 #3270B3
split-complementary
#B332B0 #70B332 #32B375
monochromatic
#531752 #832581 #B332B0 #CF53CC #DC83DA

Accessibility & contrast

On white

5.25
#B332B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B332B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332B0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332B0#FFFFFF#000000##FFFFFF
##B332B01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B3
Deuteranopia (green-blind)
#5672AD
Tritanopia (blue-blind)
#B9446E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b332b0;
/* rgb */ color: rgb(179, 50, 176);
/* oklch */ color: oklch(56.0% 0.214 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c8',
    500: '#b332b0',
    950: '#000000',
  },
}
SCSS
$custom: #b332b0;
$custom-light: #cd77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b332b0",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 301.395,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.21413,
    "h": 329
  },
  "luminance": 0.14999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B332B0

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

Preview Lab → · Contrast checker → · Palette generator →

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