#B34AA3#B34AA3

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

Color values

HEX#B34AA3
RGBrgb(179, 74, 163)
HSLhsl(309, 42%, 50%)
HSVhsv(309, 59%, 70%)
CMYKcmyk(0%, 58.7%, 8.9%, 29.8%)
CIE-LABlab(48.42, 53.63, -27.85)
CIE-LCHlch(48.42, 60.43, 332.55°)
OKLaboklab(57.77% 0.1548 -0.0759)
OKLCHoklch(57.77% 0.172 333.9)
XYZxyz(27.6501, 17.1277, 36.4929)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AA3 #4AB35A
analogous
#8F4AB3 #B34AA3 #B34A6F
triadic
#B34AA3 #A3B34A #4AA3B3
tetradic
#B34AA3 #B38F4A #4AB35A #4A6FB3
square
#B34AA3 #B38F4A #4AB35A #4A6FB3
split-complementary
#B34AA3 #6FB34A #4AB38F
monochromatic
#5C2654 #88387C #B34AA3 #C674B9 #D8A0CF

Accessibility & contrast

On white

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

On black

4.43
#B34AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B34AA3#FFFFFF#000000##FFFFFF
##B34AA31.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#6979A0
Tritanopia (blue-blind)
#BB5170
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b34aa3;
/* rgb */ color: rgb(179, 74, 163);
/* oklch */ color: oklch(57.8% 0.172 333.9);
Tailwind
colors: {
  custom: {
    50: '#cc82be',
    500: '#b34aa3',
    950: '#000000',
  },
}
SCSS
$custom: #b34aa3;
$custom-light: #cc82be;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aa3",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 309.143,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.17242,
    "h": 333.9
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#B34AA3
secondary
#94C49C
accent
#D16956
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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