#B332B2#B332B2

#B332B2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.216 H 328.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B332B2
RGBrgb(179, 50, 178)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0%, 72.1%, 0.6%, 29.8%)
CIE-LABlab(45.75, 65.62, -40.91)
CIE-LCHlch(45.75, 77.33, 328.06°)
OKLaboklab(56.07% 0.1835 -0.1133)
OKLCHoklch(56.07% 0.216 328.3)
XYZxyz(27.7666, 15.0813, 43.5594)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332B2 #32B333
analogous
#7332B3 #B332B2 #B33272
triadic
#B332B2 #B2B332 #32B2B3
tetradic
#B332B2 #B37332 #32B333 #3272B3
square
#B332B2 #B37332 #32B333 #3272B3
split-complementary
#B332B2 #72B332 #32B373
monochromatic
#531753 #832582 #B332B2 #CF53CE #DC83DC

Accessibility & contrast

On white

5.23
#B332B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B332B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332B2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332B2#FFFFFF#000000##FFFFFF
##B332B21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#B9456F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b332b2;
/* rgb */ color: rgb(179, 50, 178);
/* oklch */ color: oklch(56.1% 0.216 328.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c9',
    500: '#b332b2',
    950: '#000000',
  },
}
SCSS
$custom: #b332b2;
$custom-light: #cd77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b332b2",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 300.465,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.21566,
    "h": 328.3
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

primary
#B332B2
secondary
#7BC67C
accent
#E04948
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B332B2

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

Preview Lab → · Contrast checker → · Palette generator →

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