#B327AB#B327AB

#B327AB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.221 H 330.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B327AB
RGBrgb(179, 39, 171)
HSLhsl(303, 64%, 43%)
HSVhsv(303, 78%, 70%)
CMYKcmyk(0%, 78.2%, 4.5%, 29.8%)
CIE-LABlab(44.20, 67.84, -39.22)
CIE-LCHlch(44.20, 78.36, 329.97°)
OKLaboklab(54.84% 0.193 -0.1083)
OKLCHoklch(54.84% 0.221 330.7)
XYZxyz(26.6666, 13.9772, 39.8136)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B327AB #27B32F
analogous
#7527B3 #B327AB #B32765
triadic
#B327AB #ABB327 #27ABB3
tetradic
#B327AB #B37527 #27B32F #2765B3
square
#B327AB #B37527 #27B32F #2765B3
split-complementary
#B327AB #65B327 #27B375
monochromatic
#4E114B #811C7B #B327AB #D641CD #E174DA

Accessibility & contrast

On white

5.53
#B327AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B327AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B327AB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B327AB#FFFFFF#000000##FFFFFF
##B327AB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAE
Deuteranopia (green-blind)
#556FA8
Tritanopia (blue-blind)
#BA3B69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b327ab;
/* rgb */ color: rgb(179, 39, 171);
/* oklch */ color: oklch(54.8% 0.221 330.7);
Tailwind
colors: {
  custom: {
    50: '#ce72c4',
    500: '#b327ab',
    950: '#000000',
  },
}
SCSS
$custom: #b327ab;
$custom-light: #ce72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b327ab",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 303.429,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.22133,
    "h": 330.7
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#B327AB
secondary
#6EC873
accent
#E74A41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B327AB

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

Preview Lab → · Contrast checker → · Palette generator →

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