#B326A1#B326A1

#B326A1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.215 H 334.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B326A1
RGBrgb(179, 38, 161)
HSLhsl(308, 65%, 43%)
HSVhsv(308, 79%, 70%)
CMYKcmyk(0%, 78.8%, 10.1%, 29.8%)
CIE-LABlab(43.57, 66.61, -34.25)
CIE-LCHlch(43.57, 74.90, 332.79°)
OKLaboklab(54.22% 0.1936 -0.0939)
OKLCHoklch(54.22% 0.215 334.1)
XYZxyz(25.7168, 13.5454, 34.9714)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B326A1 #26B338
analogous
#7F26B3 #B326A1 #B3265A
triadic
#B326A1 #A1B326 #26A1B3
tetradic
#B326A1 #B37F26 #26B338 #265AB3
square
#B326A1 #B37F26 #26B338 #265AB3
split-complementary
#B326A1 #5AB326 #26B37F
monochromatic
#4E1146 #811B74 #B326A1 #D640C3 #E172D3

Accessibility & contrast

On white

5.66
#B326A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B326A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B326A1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B326A1#FFFFFF#000000##FFFFFF
##B326A11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#BC3563
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b326a1;
/* rgb */ color: rgb(179, 38, 161);
/* oklch */ color: oklch(54.2% 0.215 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce71bd',
    500: '#b326a1',
    950: '#000000',
  },
}
SCSS
$custom: #b326a1;
$custom-light: #ce71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b326a1",
  "rgb": {
    "r": 179,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 307.66,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.21518,
    "h": 334.1
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#B326A1
secondary
#6DC878
accent
#E85540
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B326A1

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

Preview Lab → · Contrast checker → · Palette generator →

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