#B34CA5#B34CA5

#B34CA5 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.171 H 333.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B34CA5
RGBrgb(179, 76, 165)
HSLhsl(308, 40%, 50%)
HSVhsv(308, 58%, 70%)
CMYKcmyk(0%, 57.5%, 7.8%, 29.8%)
CIE-LABlab(48.85, 53.04, -28.37)
CIE-LCHlch(48.85, 60.15, 331.86°)
OKLaboklab(58.11% 0.1525 -0.0773)
OKLCHoklch(58.11% 0.171 333.1)
XYZxyz(27.9664, 17.4712, 37.4893)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CA5 #4CB35A
analogous
#8D4CB3 #B34CA5 #B34C72
triadic
#B34CA5 #A5B34C #4CA5B3
tetradic
#B34CA5 #B38D4C #4CB35A #4C72B3
square
#B34CA5 #B38D4C #4CB35A #4C72B3
split-complementary
#B34CA5 #72B34C #4CB38D
monochromatic
#5D2856 #883A7D #B34CA5 #C577BB #D7A2D0

Accessibility & contrast

On white

4.67
#B34CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B34CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34CA5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CA5#FFFFFF#000000##FFFFFF
##B34CA51.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA8
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#BA5371
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34ca5;
/* rgb */ color: rgb(179, 76, 165);
/* oklch */ color: oklch(58.1% 0.171 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc83c0',
    500: '#b34ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b34ca5;
$custom-light: #cc83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ca5",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 308.155,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.17098,
    "h": 333.1
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#B34CA5
secondary
#96C49D
accent
#D06858
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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