#B34AA1#B34AA1

#B34AA1 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.7% C 0.171 H 334.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B34AA1
RGBrgb(179, 74, 161)
HSLhsl(310, 42%, 50%)
HSVhsv(310, 59%, 70%)
CMYKcmyk(0%, 58.7%, 10.1%, 29.8%)
CIE-LABlab(48.33, 53.30, -26.81)
CIE-LCHlch(48.33, 59.66, 333.30°)
OKLaboklab(57.67% 0.1545 -0.0729)
OKLCHoklch(57.67% 0.171 334.7)
XYZxyz(27.4724, 17.0565, 35.5566)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AA1 #4AB35C
analogous
#914AB3 #B34AA1 #B34A6C
triadic
#B34AA1 #A1B34A #4AA1B3
tetradic
#B34AA1 #B3914A #4AB35C #4A6CB3
square
#B34AA1 #B3914A #4AB35C #4A6CB3
split-complementary
#B34AA1 #6CB34A #4AB391
monochromatic
#5C2653 #88387A #B34AA1 #C674B8 #D8A0CE

Accessibility & contrast

On white

4.76
#B34AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B34AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AA1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AA1#FFFFFF#000000##FFFFFF
##B34AA11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A4
Deuteranopia (green-blind)
#6A789E
Tritanopia (blue-blind)
#BB506F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b34aa1;
/* rgb */ color: rgb(179, 74, 161);
/* oklch */ color: oklch(57.7% 0.171 334.7);
Tailwind
colors: {
  custom: {
    50: '#cc82bd',
    500: '#b34aa1',
    950: '#000000',
  },
}
SCSS
$custom: #b34aa1;
$custom-light: #cc82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aa1",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 310.286,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.17083,
    "h": 334.7
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#B34AA1
secondary
#94C49D
accent
#D16C56
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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