#B326AB#B326AB

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

Color values

HEX#B326AB
RGBrgb(179, 38, 171)
HSLhsl(303, 65%, 43%)
HSVhsv(303, 79%, 70%)
CMYKcmyk(0%, 78.8%, 4.5%, 29.8%)
CIE-LABlab(44.11, 68.11, -39.37)
CIE-LCHlch(44.11, 78.67, 329.97°)
OKLaboklab(54.77% 0.1938 -0.1087)
OKLCHoklch(54.77% 0.222 330.7)
XYZxyz(26.6342, 13.9124, 39.8028)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B326AB #26B32E
analogous
#7426B3 #B326AB #B32665
triadic
#B326AB #ABB326 #26ABB3
tetradic
#B326AB #B37426 #26B32E #2665B3
square
#B326AB #B37426 #26B32E #2665B3
split-complementary
#B326AB #65B326 #26B374
monochromatic
#4E114B #811B7B #B326AB #D640CE #E172DB

Accessibility & contrast

On white

5.55
#B326AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B326AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B326AB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B326AB#FFFFFF#000000##FFFFFF
##B326AB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAE
Deuteranopia (green-blind)
#546FA8
Tritanopia (blue-blind)
#BA3A68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b326ab;
/* rgb */ color: rgb(179, 38, 171);
/* oklch */ color: oklch(54.8% 0.222 330.7);
Tailwind
colors: {
  custom: {
    50: '#ce72c4',
    500: '#b326ab',
    950: '#000000',
  },
}
SCSS
$custom: #b326ab;
$custom-light: #ce72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b326ab",
  "rgb": {
    "r": 179,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 303.404,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.22222,
    "h": 330.7
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#B326AB
secondary
#6DC872
accent
#E84940
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B326AB

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

Preview Lab → · Contrast checker → · Palette generator →

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