#B34AAB#B34AAB

#B34AAB is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.179 H 330.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B34AAB
RGBrgb(179, 74, 171)
HSLhsl(305, 42%, 50%)
HSVhsv(305, 59%, 70%)
CMYKcmyk(0%, 58.7%, 4.5%, 29.8%)
CIE-LABlab(48.79, 54.96, -32.00)
CIE-LCHlch(48.79, 63.60, 329.80°)
OKLaboklab(58.16% 0.156 -0.0877)
OKLCHoklch(58.16% 0.179 330.7)
XYZxyz(28.3897, 17.4235, 40.3880)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AAB #4AB352
analogous
#864AB3 #B34AAB #B34A77
triadic
#B34AAB #ABB34A #4AABB3
tetradic
#B34AAB #B3864A #4AB352 #4A77B3
square
#B34AAB #B3864A #4AB352 #4A77B3
split-complementary
#B34AAB #77B34A #4AB386
monochromatic
#5C2658 #883882 #B34AAB #C674C0 #D8A0D3

Accessibility & contrast

On white

4.68
#B34AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B34AAB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AAB#FFFFFF#000000##FFFFFF
##B34AAB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#6679A8
Tritanopia (blue-blind)
#B95474
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34aab;
/* rgb */ color: rgb(179, 74, 171);
/* oklch */ color: oklch(58.2% 0.179 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc83c4',
    500: '#b34aab',
    950: '#000000',
  },
}
SCSS
$custom: #b34aab;
$custom-light: #cc83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aab",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 304.571,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.17895,
    "h": 330.7
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#B34AAB
secondary
#94C498
accent
#D16056
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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