#B332B8#B332B8

#B332B8 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.220 H 326.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B332B8
RGBrgb(179, 50, 184)
HSLhsl(298, 57%, 46%)
HSVhsv(298, 73%, 72%)
CMYKcmyk(2.7%, 72.8%, 0%, 27.8%)
CIE-LABlab(46.08, 66.62, -43.90)
CIE-LCHlch(46.08, 79.78, 326.61°)
OKLaboklab(56.41% 0.1835 -0.122)
OKLCHoklch(56.41% 0.22 326.4)
XYZxyz(28.3822, 15.3275, 46.8017)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332B8 #37B832
analogous
#7032B8 #B332B8 #B8327A
triadic
#B332B8 #B8B332 #32B8B3
tetradic
#B332B8 #B87032 #37B832 #327AB8
square
#B332B8 #B87032 #37B832 #327AB8
split-complementary
#B332B8 #7AB832 #32B870
monochromatic
#551858 #842588 #B332B8 #CD56D1 #DB86DE

Accessibility & contrast

On white

5.17
#B332B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B332B8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332B8#FFFFFF#000000##FFFFFF
##B332B81.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D63BC
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#B84872
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b332b8;
/* rgb */ color: rgb(179, 50, 184);
/* oklch */ color: oklch(56.4% 0.220 326.4);
Tailwind
colors: {
  custom: {
    50: '#ce77ce',
    500: '#b332b8',
    950: '#000000',
  },
}
SCSS
$custom: #b332b8;
$custom-light: #ce77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b332b8",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 297.761,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.22032,
    "h": 326.4
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

primary
#B332B8
secondary
#81C87E
accent
#E1474D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B332B8

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

Preview Lab → · Contrast checker → · Palette generator →

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