#B327A1#B327A1

#B327A1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.214 H 334.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B327A1
RGBrgb(179, 39, 161)
HSLhsl(308, 64%, 43%)
HSVhsv(308, 78%, 70%)
CMYKcmyk(0%, 78.2%, 10.1%, 29.8%)
CIE-LABlab(43.67, 66.33, -34.10)
CIE-LCHlch(43.67, 74.59, 332.79°)
OKLaboklab(54.29% 0.1928 -0.0935)
OKLCHoklch(54.29% 0.214 334.1)
XYZxyz(25.7492, 13.6103, 34.9822)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B327A1 #27B339
analogous
#7F27B3 #B327A1 #B3275B
triadic
#B327A1 #A1B327 #27A1B3
tetradic
#B327A1 #B37F27 #27B339 #275BB3
square
#B327A1 #B37F27 #27B339 #275BB3
split-complementary
#B327A1 #5BB327 #27B37F
monochromatic
#4E1147 #811C74 #B327A1 #D641C3 #E174D3

Accessibility & contrast

On white

5.64
#B327A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B327A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B327A1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B327A1#FFFFFF#000000##FFFFFF
##B327A11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA4
Deuteranopia (green-blind)
#5A6E9E
Tritanopia (blue-blind)
#BC3563
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b327a1;
/* rgb */ color: rgb(179, 39, 161);
/* oklch */ color: oklch(54.3% 0.214 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce72bd',
    500: '#b327a1',
    950: '#000000',
  },
}
SCSS
$custom: #b327a1;
$custom-light: #ce72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b327a1",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 307.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.21427,
    "h": 334.1
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#B327A1
secondary
#6EC879
accent
#E75641
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B327A1

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

Preview Lab → · Contrast checker → · Palette generator →

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