#B332B6#B332B6

#B332B6 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.219 H 327.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B332B6
RGBrgb(179, 50, 182)
HSLhsl(299, 57%, 45%)
HSVhsv(299, 73%, 71%)
CMYKcmyk(1.6%, 72.5%, 0%, 28.6%)
CIE-LABlab(45.97, 66.28, -42.91)
CIE-LCHlch(45.97, 78.96, 327.08°)
OKLaboklab(56.3% 0.1835 -0.1191)
OKLCHoklch(56.3% 0.219 327)
XYZxyz(28.1740, 15.2443, 45.7054)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332B6 #35B632
analogous
#7132B6 #B332B6 #B63277
triadic
#B332B6 #B6B332 #32B6B3
tetradic
#B332B6 #B67132 #35B632 #3277B6
square
#B332B6 #B67132 #35B632 #3277B6
split-complementary
#B332B6 #77B632 #32B671
monochromatic
#551856 #842586 #B332B6 #CD55D0 #DB85DD

Accessibility & contrast

On white

5.19
#B332B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B332B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332B6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332B6#FFFFFF#000000##FFFFFF
##B332B61.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362BA
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#B84771
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b332b6;
/* rgb */ color: rgb(179, 50, 182);
/* oklch */ color: oklch(56.3% 0.219 327.0);
Tailwind
colors: {
  custom: {
    50: '#ce77cc',
    500: '#b332b6',
    950: '#000000',
  },
}
SCSS
$custom: #b332b6;
$custom-light: #ce77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b332b6",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 298.636,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.21875,
    "h": 327
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#B332B6
secondary
#7FC77D
accent
#E0484B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B332B6

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

Preview Lab → · Contrast checker → · Palette generator →

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