#B332BB#B332BB

#B332BB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.223 H 325.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B332BB
RGBrgb(179, 50, 187)
HSLhsl(296, 58%, 46%)
HSVhsv(296, 73%, 73%)
CMYKcmyk(4.3%, 73.3%, 0%, 26.7%)
CIE-LABlab(46.25, 67.12, -45.39)
CIE-LCHlch(46.25, 81.03, 325.93°)
OKLaboklab(56.59% 0.1834 -0.1263)
OKLCHoklch(56.59% 0.223 325.5)
XYZxyz(28.7000, 15.4547, 48.4755)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332BB #3ABB32
analogous
#6F32BB #B332BB #BB327F
triadic
#B332BB #BBB332 #32BBB3
tetradic
#B332BB #BB6F32 #3ABB32 #327FBB
square
#B332BB #BB6F32 #3ABB32 #327FBB
split-complementary
#B332BB #7FBB32 #32BB6F
monochromatic
#57185A #85258B #B332BB #CB58D2 #DA88DF

Accessibility & contrast

On white

5.13
#B332BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B332BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332BB#FFFFFF#000000##FFFFFF
##B332BB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#B74A74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b332bb;
/* rgb */ color: rgb(179, 50, 187);
/* oklch */ color: oklch(56.6% 0.223 325.5);
Tailwind
colors: {
  custom: {
    50: '#ce77d0',
    500: '#b332bb',
    950: '#000000',
  },
}
SCSS
$custom: #b332bb;
$custom-light: #ce77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b332bb",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 296.496,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.22267,
    "h": 325.5
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#B332BB
secondary
#84C980
accent
#E14750
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B332BB

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

Preview Lab → · Contrast checker → · Palette generator →

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