#B34AA2#B34AA2

#B34AA2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.172 H 334.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B34AA2
RGBrgb(179, 74, 162)
HSLhsl(310, 42%, 50%)
HSVhsv(310, 59%, 70%)
CMYKcmyk(0%, 58.7%, 9.5%, 29.8%)
CIE-LABlab(48.38, 53.46, -27.33)
CIE-LCHlch(48.38, 60.04, 332.92°)
OKLaboklab(57.72% 0.1547 -0.0744)
OKLCHoklch(57.72% 0.172 334.3)
XYZxyz(27.5609, 17.0920, 36.0229)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AA2 #4AB35B
analogous
#8F4AB3 #B34AA2 #B34A6E
triadic
#B34AA2 #A2B34A #4AA2B3
tetradic
#B34AA2 #B38F4A #4AB35B #4A6EB3
square
#B34AA2 #B38F4A #4AB35B #4A6EB3
split-complementary
#B34AA2 #6EB34A #4AB38F
monochromatic
#5C2654 #88387B #B34AA2 #C674B9 #D8A0CF

Accessibility & contrast

On white

4.75
#B34AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B34AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AA2#FFFFFF#000000##FFFFFF
##B34AA21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#BB516F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b34aa2;
/* rgb */ color: rgb(179, 74, 162);
/* oklch */ color: oklch(57.7% 0.172 334.3);
Tailwind
colors: {
  custom: {
    50: '#cc82be',
    500: '#b34aa2',
    950: '#000000',
  },
}
SCSS
$custom: #b34aa2;
$custom-light: #cc82be;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aa2",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 309.714,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57718,
    "c": 0.17163,
    "h": 334.3
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#B34AA2
secondary
#94C49C
accent
#D16A56
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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