#B32FAC#B32FAC

#B32FAC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.214 H 330.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B32FAC
RGBrgb(179, 47, 172)
HSLhsl(303, 58%, 44%)
HSVhsv(303, 74%, 70%)
CMYKcmyk(0%, 73.7%, 3.9%, 29.8%)
CIE-LABlab(45.08, 65.63, -38.43)
CIE-LCHlch(45.08, 76.05, 329.65°)
OKLaboklab(55.48% 0.1862 -0.106)
OKLCHoklch(55.48% 0.214 330.3)
XYZxyz(27.0532, 14.5974, 40.4145)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32FAC #2FB336
analogous
#782FB3 #B32FAC #B32F6A
triadic
#B32FAC #ACB32F #2FACB3
tetradic
#B32FAC #B3782F #2FB336 #2F6AB3
square
#B32FAC #B3782F #2FB336 #2F6AB3
split-complementary
#B32FAC #6AB32F #2FB378
monochromatic
#52164F #83227D #B32FAC #D14FCA #DD7FD8

Accessibility & contrast

On white

5.36
#B32FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B32FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32FAC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32FAC#FFFFFF#000000##FFFFFF
##B32FAC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#BA406B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b32fac;
/* rgb */ color: rgb(179, 47, 172);
/* oklch */ color: oklch(55.5% 0.214 330.3);
Tailwind
colors: {
  custom: {
    50: '#ce75c5',
    500: '#b32fac',
    950: '#000000',
  },
}
SCSS
$custom: #b32fac;
$custom-light: #ce75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b32fac",
  "rgb": {
    "r": 179,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 303.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.21431,
    "h": 330.3
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#B32FAC
secondary
#78C67C
accent
#E24E46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B32FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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