#B327B2#B327B2

#B327B2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.226 H 328.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B327B2
RGBrgb(179, 39, 178)
HSLhsl(300, 64%, 43%)
HSVhsv(300, 78%, 70%)
CMYKcmyk(0%, 78.2%, 0.6%, 29.8%)
CIE-LABlab(44.59, 68.94, -42.74)
CIE-LCHlch(44.59, 81.11, 328.20°)
OKLaboklab(55.24% 0.1929 -0.1185)
OKLCHoklch(55.24% 0.226 328.4)
XYZxyz(27.3515, 14.2512, 43.4210)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B327B2 #27B328
analogous
#6E27B3 #B327B2 #B3276C
triadic
#B327B2 #B2B327 #27B2B3
tetradic
#B327B2 #B36E27 #27B328 #276CB3
square
#B327B2 #B36E27 #27B328 #276CB3
split-complementary
#B327B2 #6CB327 #27B36E
monochromatic
#4E114E #811C80 #B327B2 #D641D5 #E174E0

Accessibility & contrast

On white

5.45
#B327B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B327B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B327B2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B327B2#FFFFFF#000000##FFFFFF
##B327B21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#B93F6D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b327b2;
/* rgb */ color: rgb(179, 39, 178);
/* oklch */ color: oklch(55.2% 0.226 328.4);
Tailwind
colors: {
  custom: {
    50: '#ce73c9',
    500: '#b327b2',
    950: '#000000',
  },
}
SCSS
$custom: #b327b2;
$custom-light: #ce73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b327b2",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 300.429,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.22642,
    "h": 328.4
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#B327B2
secondary
#6EC86F
accent
#E74241
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B327B2

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

Preview Lab → · Contrast checker → · Palette generator →

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