#B332B9#B332B9

#B332B9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.221 H 326.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B332B9
RGBrgb(179, 50, 185)
HSLhsl(297, 57%, 46%)
HSVhsv(297, 73%, 73%)
CMYKcmyk(3.2%, 73%, 0%, 27.5%)
CIE-LABlab(46.14, 66.78, -44.40)
CIE-LCHlch(46.14, 80.20, 326.38°)
OKLaboklab(56.47% 0.1835 -0.1234)
OKLCHoklch(56.47% 0.221 326.1)
XYZxyz(28.4874, 15.3696, 47.3557)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332B9 #38B932
analogous
#6F32B9 #B332B9 #B9327B
triadic
#B332B9 #B9B332 #32B9B3
tetradic
#B332B9 #B96F32 #38B932 #327BB9
square
#B332B9 #B96F32 #38B932 #327BB9
split-complementary
#B332B9 #7BB932 #32B96F
monochromatic
#561859 #842589 #B332B9 #CC57D2 #DB87DF

Accessibility & contrast

On white

5.16
#B332B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B332B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332B9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332B9#FFFFFF#000000##FFFFFF
##B332B91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#B84973
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b332b9;
/* rgb */ color: rgb(179, 50, 185);
/* oklch */ color: oklch(56.5% 0.221 326.1);
Tailwind
colors: {
  custom: {
    50: '#ce77ce',
    500: '#b332b9',
    950: '#000000',
  },
}
SCSS
$custom: #b332b9;
$custom-light: #ce77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b332b9",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 297.333,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.2211,
    "h": 326.1
  },
  "luminance": 0.15368
}

Semantic roles & 50–950 ramp

primary
#B332B9
secondary
#82C87F
accent
#E1474E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B332B9

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

Preview Lab → · Contrast checker → · Palette generator →

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