#B332B4#B332B4

#B332B4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.217 H 327.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B332B4
RGBrgb(179, 50, 180)
HSLhsl(300, 57%, 45%)
HSVhsv(300, 72%, 71%)
CMYKcmyk(0.6%, 72.2%, 0%, 29.4%)
CIE-LABlab(45.86, 65.95, -41.91)
CIE-LCHlch(45.86, 78.14, 327.56°)
OKLaboklab(56.18% 0.1835 -0.1162)
OKLCHoklch(56.18% 0.217 327.7)
XYZxyz(27.9688, 15.1622, 44.6246)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332B4 #33B432
analogous
#7232B4 #B332B4 #B43274
triadic
#B332B4 #B4B332 #32B4B3
tetradic
#B332B4 #B47232 #33B432 #3274B4
square
#B332B4 #B47232 #33B432 #3274B4
split-complementary
#B332B4 #74B432 #32B472
monochromatic
#541754 #832584 #B332B4 #CE54CF #DC84DD

Accessibility & contrast

On white

5.21
#B332B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B332B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332B4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332B4#FFFFFF#000000##FFFFFF
##B332B41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#B84670
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b332b4;
/* rgb */ color: rgb(179, 50, 180);
/* oklch */ color: oklch(56.2% 0.217 327.7);
Tailwind
colors: {
  custom: {
    50: '#cd77cb',
    500: '#b332b4',
    950: '#000000',
  },
}
SCSS
$custom: #b332b4;
$custom-light: #cd77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b332b4",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 299.538,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.21721,
    "h": 327.7
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#B332B4
secondary
#7CC67C
accent
#E04849
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B332B4

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

Preview Lab → · Contrast checker → · Palette generator →

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