#B34AAF#B34AAF

#B34AAF is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.182 H 329.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B34AAF
RGBrgb(179, 74, 175)
HSLhsl(302, 42%, 50%)
HSVhsv(302, 59%, 70%)
CMYKcmyk(0%, 58.7%, 2.2%, 29.8%)
CIE-LABlab(48.98, 55.65, -34.04)
CIE-LCHlch(48.98, 65.24, 328.54°)
OKLaboklab(58.36% 0.1565 -0.0936)
OKLCHoklch(58.36% 0.182 329.1)
XYZxyz(28.7767, 17.5783, 42.4264)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34AAF #4AB34E
analogous
#834AB3 #B34AAF #B34A7A
triadic
#B34AAF #AFB34A #4AAFB3
tetradic
#B34AAF #B3834A #4AB34E #4A7AB3
square
#B34AAF #B3834A #4AB34E #4A7AB3
split-complementary
#B34AAF #7AB34A #4AB383
monochromatic
#5C265A #883885 #B34AAF #C674C3 #D8A0D6

Accessibility & contrast

On white

4.65
#B34AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B34AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34AAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34AAF#FFFFFF#000000##FFFFFF
##B34AAF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#6479AC
Tritanopia (blue-blind)
#B95576
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34aaf;
/* rgb */ color: rgb(179, 74, 175);
/* oklch */ color: oklch(58.4% 0.182 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc83c7',
    500: '#b34aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b34aaf;
$custom-light: #cc83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34aaf",
  "rgb": {
    "r": 179,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 302.286,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.18232,
    "h": 329.1
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#B34AAF
secondary
#94C496
accent
#D15B56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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