#B327A8#B327A8

#B327A8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.219 H 331.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B327A8
RGBrgb(179, 39, 168)
HSLhsl(305, 64%, 43%)
HSVhsv(305, 78%, 70%)
CMYKcmyk(0%, 78.2%, 6.1%, 29.8%)
CIE-LABlab(44.04, 67.38, -37.70)
CIE-LCHlch(44.04, 77.21, 330.77°)
OKLaboklab(54.67% 0.193 -0.1039)
OKLCHoklch(54.67% 0.219 331.7)
XYZxyz(26.3839, 13.8641, 38.3247)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B327A8 #27B332
analogous
#7827B3 #B327A8 #B32762
triadic
#B327A8 #A8B327 #27A8B3
tetradic
#B327A8 #B37827 #27B332 #2762B3
square
#B327A8 #B37827 #27B332 #2762B3
split-complementary
#B327A8 #62B327 #27B378
monochromatic
#4E114A #811C79 #B327A8 #D641CA #E174D8

Accessibility & contrast

On white

5.57
#B327A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B327A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B327A8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B327A8#FFFFFF#000000##FFFFFF
##B327A81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAB
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#BB3967
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b327a8;
/* rgb */ color: rgb(179, 39, 168);
/* oklch */ color: oklch(54.7% 0.219 331.7);
Tailwind
colors: {
  custom: {
    50: '#ce72c2',
    500: '#b327a8',
    950: '#000000',
  },
}
SCSS
$custom: #b327a8;
$custom-light: #ce72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b327a8",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 304.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.21918,
    "h": 331.7
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#B327A8
secondary
#6EC875
accent
#E74E41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B327A8

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

Preview Lab → · Contrast checker → · Palette generator →

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