#B326A8#B326A8

#B326A8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.220 H 331.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B326A8
RGBrgb(179, 38, 168)
HSLhsl(305, 65%, 43%)
HSVhsv(305, 79%, 70%)
CMYKcmyk(0%, 78.8%, 6.1%, 29.8%)
CIE-LABlab(43.94, 67.65, -37.85)
CIE-LCHlch(43.94, 77.52, 330.78°)
OKLaboklab(54.6% 0.1938 -0.1043)
OKLCHoklch(54.6% 0.22 331.7)
XYZxyz(26.3515, 13.7993, 38.3139)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B326A8 #26B331
analogous
#7826B3 #B326A8 #B32661
triadic
#B326A8 #A8B326 #26A8B3
tetradic
#B326A8 #B37826 #26B331 #2661B3
square
#B326A8 #B37826 #26B331 #2661B3
split-complementary
#B326A8 #61B326 #26B378
monochromatic
#4E1149 #811B79 #B326A8 #D640CB #E172D8

Accessibility & contrast

On white

5.59
#B326A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B326A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B326A8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B326A8#FFFFFF#000000##FFFFFF
##B326A81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b326a8;
/* rgb */ color: rgb(179, 38, 168);
/* oklch */ color: oklch(54.6% 0.220 331.7);
Tailwind
colors: {
  custom: {
    50: '#ce72c2',
    500: '#b326a8',
    950: '#000000',
  },
}
SCSS
$custom: #b326a8;
$custom-light: #ce72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b326a8",
  "rgb": {
    "r": 179,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 304.681,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.22008,
    "h": 331.7
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#B326A8
secondary
#6DC874
accent
#E84D40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B326A8

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

Preview Lab → · Contrast checker → · Palette generator →

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