#B34AA6#B34AA6

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

Color values

HEX#B34AA6
RGBrgb(179, 74, 166)
HSLhsl(307, 42%, 50%)
HSVhsv(307, 59%, 70%)
CMYKcmyk(0%, 58.7%, 7.3%, 29.8%)
CIE-LABlab(48.56, 54.12, -29.41)
CIE-LCHlch(48.56, 61.60, 331.48°)
OKLaboklab(57.91% 0.1553 -0.0803)
OKLCHoklch(57.91% 0.175 332.7)
XYZxyz(27.9221, 17.2364, 37.9253)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AA6 #4AB357
analogous
#8C4AB3 #B34AA6 #B34A71
triadic
#B34AA6 #A6B34A #4AA6B3
tetradic
#B34AA6 #B38C4A #4AB357 #4A71B3
square
#B34AA6 #B38C4A #4AB357 #4A71B3
split-complementary
#B34AA6 #71B34A #4AB38C
monochromatic
#5C2656 #88387E #B34AA6 #C674BC #D8A0D1

Accessibility & contrast

On white

4.72
#B34AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B34AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AA6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AA6#FFFFFF#000000##FFFFFF
##B34AA61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b34aa6;
/* rgb */ color: rgb(179, 74, 166);
/* oklch */ color: oklch(57.9% 0.175 332.7);
Tailwind
colors: {
  custom: {
    50: '#cc82c0',
    500: '#b34aa6',
    950: '#000000',
  },
}
SCSS
$custom: #b34aa6;
$custom-light: #cc82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aa6",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 307.429,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.17483,
    "h": 332.7
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#B34AA6
secondary
#94C49A
accent
#D16656
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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