#B326C7#B326C7

#B326C7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.5% C 0.243 H 322.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B326C7
RGBrgb(179, 38, 199)
HSLhsl(293, 68%, 46%)
HSVhsv(293, 81%, 78%)
CMYKcmyk(10.1%, 80.9%, 0%, 22%)
CIE-LABlab(45.76, 72.65, -53.15)
CIE-LCHlch(45.76, 90.02, 323.81°)
OKLaboklab(56.48% 0.192 -0.1489)
OKLCHoklch(56.48% 0.243 322.2)
XYZxyz(29.5912, 15.0952, 55.3768)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B326C7 #3AC726
analogous
#6326C7 #B326C7 #C7268A
triadic
#B326C7 #C7B326 #26C7B3
tetradic
#B326C7 #C76326 #3AC726 #268AC7
square
#B326C7 #C76326 #3AC726 #268AC7
split-complementary
#B326C7 #8AC726 #26C763
monochromatic
#571260 #851C94 #B326C7 #CB4DDD #DA81E7

Accessibility & contrast

On white

5.23
#B326C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B326C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B326C7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B326C7#FFFFFF#000000##FFFFFF
##B326C71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#4171C3
Tritanopia (blue-blind)
#B54978
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b326c7;
/* rgb */ color: rgb(179, 38, 199);
/* oklch */ color: oklch(56.5% 0.243 322.2);
Tailwind
colors: {
  custom: {
    50: '#ce73d9',
    500: '#b326c7',
    950: '#000000',
  },
}
SCSS
$custom: #b326c7;
$custom-light: #ce73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b326c7",
  "rgb": {
    "r": 179,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 292.547,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.243,
    "h": 322.2
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#B326C7
secondary
#84CF79
accent
#EB3D53
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140915
muted
#837B83

Preview Lab

Preview with #B326C7

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

Preview Lab → · Contrast checker → · Palette generator →

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