#B332B1#B332B1

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

Color values

HEX#B332B1
RGBrgb(179, 50, 177)
HSLhsl(301, 56%, 45%)
HSVhsv(301, 72%, 70%)
CMYKcmyk(0%, 72.1%, 1.1%, 29.8%)
CIE-LABlab(45.69, 65.46, -40.41)
CIE-LCHlch(45.69, 76.93, 328.31°)
OKLaboklab(56.01% 0.1835 -0.1118)
OKLCHoklch(56.01% 0.215 328.7)
XYZxyz(27.6665, 15.0413, 43.0325)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332B1 #32B334
analogous
#7432B3 #B332B1 #B33271
triadic
#B332B1 #B1B332 #32B1B3
tetradic
#B332B1 #B37432 #32B334 #3271B3
square
#B332B1 #B37432 #32B334 #3271B3
split-complementary
#B332B1 #71B332 #32B374
monochromatic
#531752 #832582 #B332B1 #CF53CD #DC83DB

Accessibility & contrast

On white

5.24
#B332B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B332B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332B1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332B1#FFFFFF#000000##FFFFFF
##B332B11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D61B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#B9456F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b332b1;
/* rgb */ color: rgb(179, 50, 177);
/* oklch */ color: oklch(56.0% 0.215 328.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c9',
    500: '#b332b1',
    950: '#000000',
  },
}
SCSS
$custom: #b332b1;
$custom-light: #cd77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b332b1",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 300.93,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.21489,
    "h": 328.7
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B332B1

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

Preview Lab → · Contrast checker → · Palette generator →

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