#B326A2#B326A2

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

Color values

HEX#B326A2
RGBrgb(179, 38, 162)
HSLhsl(307, 65%, 43%)
HSVhsv(307, 79%, 70%)
CMYKcmyk(0%, 78.8%, 9.5%, 29.8%)
CIE-LABlab(43.63, 66.75, -34.77)
CIE-LCHlch(43.63, 75.27, 332.49°)
OKLaboklab(54.27% 0.1936 -0.0954)
OKLCHoklch(54.27% 0.216 333.8)
XYZxyz(25.8053, 13.5809, 35.4377)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B326A2 #26B337
analogous
#7D26B3 #B326A2 #B3265C
triadic
#B326A2 #A2B326 #26A2B3
tetradic
#B326A2 #B37D26 #26B337 #265CB3
square
#B326A2 #B37D26 #26B337 #265CB3
split-complementary
#B326A2 #5CB326 #26B37D
monochromatic
#4E1147 #811B74 #B326A2 #D640C4 #E172D4

Accessibility & contrast

On white

5.65
#B326A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B326A2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B326A2#FFFFFF#000000##FFFFFF
##B326A21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#BB3563
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b326a2;
/* rgb */ color: rgb(179, 38, 162);
/* oklch */ color: oklch(54.3% 0.216 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce72be',
    500: '#b326a2',
    950: '#000000',
  },
}
SCSS
$custom: #b326a2;
$custom-light: #ce72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b326a2",
  "rgb": {
    "r": 179,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 307.234,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.21587,
    "h": 333.8
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#B326A2
secondary
#6DC878
accent
#E85440
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B326A2

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

Preview Lab → · Contrast checker → · Palette generator →

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