#B34AA4#B34AA4

#B34AA4 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.173 H 333.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B34AA4
RGBrgb(179, 74, 164)
HSLhsl(309, 42%, 50%)
HSVhsv(309, 59%, 70%)
CMYKcmyk(0%, 58.7%, 8.4%, 29.8%)
CIE-LABlab(48.47, 53.79, -28.38)
CIE-LCHlch(48.47, 60.82, 332.19°)
OKLaboklab(57.81% 0.155 -0.0773)
OKLCHoklch(57.81% 0.173 333.5)
XYZxyz(27.7401, 17.1636, 36.9666)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AA4 #4AB359
analogous
#8D4AB3 #B34AA4 #B34A70
triadic
#B34AA4 #A4B34A #4AA4B3
tetradic
#B34AA4 #B38D4A #4AB359 #4A70B3
square
#B34AA4 #B38D4A #4AB359 #4A70B3
split-complementary
#B34AA4 #70B34A #4AB38D
monochromatic
#5C2655 #88387C #B34AA4 #C674BA #D8A0D0

Accessibility & contrast

On white

4.74
#B34AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B34AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AA4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AA4#FFFFFF#000000##FFFFFF
##B34AA41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A7
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#BB5170
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b34aa4;
/* rgb */ color: rgb(179, 74, 164);
/* oklch */ color: oklch(57.8% 0.173 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc82bf',
    500: '#b34aa4',
    950: '#000000',
  },
}
SCSS
$custom: #b34aa4;
$custom-light: #cc82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aa4",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 308.571,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.17322,
    "h": 333.5
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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