#B34AA9#B34AA9

#B34AA9 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.177 H 331.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B34AA9
RGBrgb(179, 74, 169)
HSLhsl(306, 42%, 50%)
HSVhsv(306, 59%, 70%)
CMYKcmyk(0%, 58.7%, 5.6%, 29.8%)
CIE-LABlab(48.70, 54.63, -30.97)
CIE-LCHlch(48.70, 62.79, 330.45°)
OKLaboklab(58.06% 0.1557 -0.0848)
OKLCHoklch(58.06% 0.177 331.4)
XYZxyz(28.2005, 17.3478, 39.3916)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AA9 #4AB354
analogous
#884AB3 #B34AA9 #B34A75
triadic
#B34AA9 #A9B34A #4AA9B3
tetradic
#B34AA9 #B3884A #4AB354 #4A75B3
square
#B34AA9 #B3884A #4AB354 #4A75B3
split-complementary
#B34AA9 #75B34A #4AB388
monochromatic
#5C2657 #883880 #B34AA9 #C674BE #D8A0D2

Accessibility & contrast

On white

4.70
#B34AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B34AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AA9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AA9#FFFFFF#000000##FFFFFF
##B34AA91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAC
Deuteranopia (green-blind)
#6679A6
Tritanopia (blue-blind)
#BA5373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34aa9;
/* rgb */ color: rgb(179, 74, 169);
/* oklch */ color: oklch(58.1% 0.177 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc82c3',
    500: '#b34aa9',
    950: '#000000',
  },
}
SCSS
$custom: #b34aa9;
$custom-light: #cc82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aa9",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 305.714,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.17729,
    "h": 331.4
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#B34AA9
secondary
#94C499
accent
#D16256
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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