#B34AA5#B34AA5

#B34AA5 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.174 H 333.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B34AA5
RGBrgb(179, 74, 165)
HSLhsl(308, 42%, 50%)
HSVhsv(308, 59%, 70%)
CMYKcmyk(0%, 58.7%, 7.8%, 29.8%)
CIE-LABlab(48.51, 53.96, -28.90)
CIE-LCHlch(48.51, 61.21, 331.83°)
OKLaboklab(57.86% 0.1551 -0.0788)
OKLCHoklch(57.86% 0.174 333.1)
XYZxyz(27.8307, 17.1999, 37.4441)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AA5 #4AB358
analogous
#8D4AB3 #B34AA5 #B34A71
triadic
#B34AA5 #A5B34A #4AA5B3
tetradic
#B34AA5 #B38D4A #4AB358 #4A71B3
square
#B34AA5 #B38D4A #4AB358 #4A71B3
split-complementary
#B34AA5 #71B34A #4AB38D
monochromatic
#5C2655 #88387D #B34AA5 #C674BB #D8A0D0

Accessibility & contrast

On white

4.73
#B34AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B34AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AA5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AA5#FFFFFF#000000##FFFFFF
##B34AA51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA8
Deuteranopia (green-blind)
#6879A2
Tritanopia (blue-blind)
#BA5271
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b34aa5;
/* rgb */ color: rgb(179, 74, 165);
/* oklch */ color: oklch(57.9% 0.174 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc82c0',
    500: '#b34aa5',
    950: '#000000',
  },
}
SCSS
$custom: #b34aa5;
$custom-light: #cc82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aa5",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 308,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.17402,
    "h": 333.1
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#B34AA5
secondary
#94C49B
accent
#D16756
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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