#B327A2#B327A2

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

Color values

HEX#B327A2
RGBrgb(179, 39, 162)
HSLhsl(307, 64%, 43%)
HSVhsv(307, 78%, 70%)
CMYKcmyk(0%, 78.2%, 9.5%, 29.8%)
CIE-LABlab(43.72, 66.48, -34.62)
CIE-LCHlch(43.72, 74.96, 332.49°)
OKLaboklab(54.34% 0.1928 -0.095)
OKLCHoklch(54.34% 0.215 333.8)
XYZxyz(25.8377, 13.6457, 35.4485)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B327A2 #27B338
analogous
#7E27B3 #B327A2 #B3275C
triadic
#B327A2 #A2B327 #27A2B3
tetradic
#B327A2 #B37E27 #27B338 #275CB3
square
#B327A2 #B37E27 #27B338 #275CB3
split-complementary
#B327A2 #5CB327 #27B37E
monochromatic
#4E1147 #811C75 #B327A2 #D641C4 #E174D3

Accessibility & contrast

On white

5.63
#B327A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B327A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B327A2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B327A2#FFFFFF#000000##FFFFFF
##B327A21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b327a2;
/* rgb */ color: rgb(179, 39, 162);
/* oklch */ color: oklch(54.3% 0.215 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce72be',
    500: '#b327a2',
    950: '#000000',
  },
}
SCSS
$custom: #b327a2;
$custom-light: #ce72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b327a2",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 307.286,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.21496,
    "h": 333.8
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#B327A2
secondary
#6EC879
accent
#E75541
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B327A2

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

Preview Lab → · Contrast checker → · Palette generator →

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