#B34AAA#B34AAA

#B34AAA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.178 H 331.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B34AAA
RGBrgb(179, 74, 170)
HSLhsl(305, 42%, 50%)
HSVhsv(305, 59%, 70%)
CMYKcmyk(0%, 58.7%, 5%, 29.8%)
CIE-LABlab(48.74, 54.80, -31.48)
CIE-LCHlch(48.74, 63.19, 330.12°)
OKLaboklab(58.11% 0.1558 -0.0862)
OKLCHoklch(58.11% 0.178 331)
XYZxyz(28.2948, 17.3855, 39.8879)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AAA #4AB353
analogous
#884AB3 #B34AAA #B34A76
triadic
#B34AAA #AAB34A #4AAAB3
tetradic
#B34AAA #B3884A #4AB353 #4A76B3
square
#B34AAA #B3884A #4AB353 #4A76B3
split-complementary
#B34AAA #76B34A #4AB388
monochromatic
#5C2658 #883881 #B34AAA #C674BF #D8A0D3

Accessibility & contrast

On white

4.69
#B34AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B34AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AAA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AAA#FFFFFF#000000##FFFFFF
##B34AAA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#BA5473
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34aaa;
/* rgb */ color: rgb(179, 74, 170);
/* oklch */ color: oklch(58.1% 0.178 331.0);
Tailwind
colors: {
  custom: {
    50: '#cc82c3',
    500: '#b34aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b34aaa;
$custom-light: #cc82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aaa",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 305.143,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.17811,
    "h": 331
  },
  "luminance": 0.17384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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