#B332BF#B332BF

#B332BF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.226 H 324.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B332BF
RGBrgb(179, 50, 191)
HSLhsl(295, 59%, 47%)
HSVhsv(295, 74%, 75%)
CMYKcmyk(6.3%, 73.8%, 0%, 25.1%)
CIE-LABlab(46.48, 67.80, -47.35)
CIE-LCHlch(46.48, 82.70, 325.07°)
OKLaboklab(56.83% 0.1832 -0.132)
OKLCHoklch(56.83% 0.226 324.2)
XYZxyz(29.1342, 15.6283, 50.7621)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332BF #3EBF32
analogous
#6D32BF #B332BF #BF3284
triadic
#B332BF #BFB332 #32BFB3
tetradic
#B332BF #BF6D32 #3EBF32 #3284BF
square
#B332BF #BF6D32 #3EBF32 #3284BF
split-complementary
#B332BF #84BF32 #32BF6D
monochromatic
#58195E #86258E #B332BF #CA5AD4 #D98BE1

Accessibility & contrast

On white

5.09
#B332BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B332BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332BF#FFFFFF#000000##FFFFFF
##B332BF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#B64B76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b332bf;
/* rgb */ color: rgb(179, 50, 191);
/* oklch */ color: oklch(56.8% 0.226 324.2);
Tailwind
colors: {
  custom: {
    50: '#ce77d3',
    500: '#b332bf',
    950: '#000000',
  },
}
SCSS
$custom: #b332bf;
$custom-light: #ce77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b332bf",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 294.894,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.22583,
    "h": 324.2
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#B332BF
secondary
#88CB82
accent
#E24653
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B332BF

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

Preview Lab → · Contrast checker → · Palette generator →

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