#B326A7#B326A7

#B326A7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.219 H 332.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B326A7
RGBrgb(179, 38, 167)
HSLhsl(305, 65%, 43%)
HSVhsv(305, 79%, 70%)
CMYKcmyk(0%, 78.8%, 6.7%, 29.8%)
CIE-LABlab(43.89, 67.50, -37.34)
CIE-LCHlch(43.89, 77.14, 331.05°)
OKLaboklab(54.55% 0.1938 -0.1028)
OKLCHoklch(54.55% 0.219 332)
XYZxyz(26.2587, 13.7622, 37.8251)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B326A7 #26B332
analogous
#7826B3 #B326A7 #B32661
triadic
#B326A7 #A7B326 #26A7B3
tetradic
#B326A7 #B37826 #26B332 #2661B3
square
#B326A7 #B37826 #26B332 #2661B3
split-complementary
#B326A7 #61B326 #26B378
monochromatic
#4E1149 #811B78 #B326A7 #D640CA #E172D8

Accessibility & contrast

On white

5.60
#B326A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B326A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B326A7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B326A7#FFFFFF#000000##FFFFFF
##B326A71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BAA
Deuteranopia (green-blind)
#566FA4
Tritanopia (blue-blind)
#BB3866
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b326a7;
/* rgb */ color: rgb(179, 38, 167);
/* oklch */ color: oklch(54.5% 0.219 332.0);
Tailwind
colors: {
  custom: {
    50: '#ce72c1',
    500: '#b326a7',
    950: '#000000',
  },
}
SCSS
$custom: #b326a7;
$custom-light: #ce72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b326a7",
  "rgb": {
    "r": 179,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 305.106,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.21937,
    "h": 332
  },
  "luminance": 0.1376
}

Semantic roles & 50–950 ramp

primary
#B326A7
secondary
#6DC874
accent
#E84E40
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B326A7

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

Preview Lab → · Contrast checker → · Palette generator →

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