#B34AB2#B34AB2

#B34AB2 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.185 H 328.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B34AB2
RGBrgb(179, 74, 178)
HSLhsl(301, 42%, 50%)
HSVhsv(301, 59%, 70%)
CMYKcmyk(0%, 58.7%, 0.6%, 29.8%)
CIE-LABlab(49.13, 56.18, -35.57)
CIE-LCHlch(49.13, 66.49, 327.66°)
OKLaboklab(58.51% 0.1568 -0.098)
OKLCHoklch(58.51% 0.185 328)
XYZxyz(29.0747, 17.6975, 43.9954)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AB2 #4AB34B
analogous
#7F4AB3 #B34AB2 #B34A7E
triadic
#B34AB2 #B2B34A #4AB2B3
tetradic
#B34AB2 #B37F4A #4AB34B #4A7EB3
square
#B34AB2 #B37F4A #4AB34B #4A7EB3
split-complementary
#B34AB2 #7EB34A #4AB37F
monochromatic
#5C265C #883887 #B34AB2 #C674C5 #D8A0D7

Accessibility & contrast

On white

4.63
#B34AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B34AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AB2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AB2#FFFFFF#000000##FFFFFF
##B34AB21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#627AAF
Tritanopia (blue-blind)
#B85677
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34ab2;
/* rgb */ color: rgb(179, 74, 178);
/* oklch */ color: oklch(58.5% 0.185 328.0);
Tailwind
colors: {
  custom: {
    50: '#cc83c9',
    500: '#b34ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ab2;
$custom-light: #cc83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ab2",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 300.571,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.18488,
    "h": 328
  },
  "luminance": 0.17696
}

Semantic roles & 50–950 ramp

primary
#B34AB2
secondary
#94C495
accent
#D15856
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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