#B34CA6#B34CA6

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

Color values

HEX#B34CA6
RGBrgb(179, 76, 166)
HSLhsl(308, 40%, 50%)
HSVhsv(308, 58%, 70%)
CMYKcmyk(0%, 57.5%, 7.3%, 29.8%)
CIE-LABlab(48.89, 53.21, -28.89)
CIE-LCHlch(48.89, 60.55, 331.50°)
OKLaboklab(58.16% 0.1526 -0.0788)
OKLCHoklch(58.16% 0.172 332.7)
XYZxyz(28.0578, 17.5077, 37.9705)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CA6 #4CB359
analogous
#8D4CB3 #B34CA6 #B34C72
triadic
#B34CA6 #A6B34C #4CA6B3
tetradic
#B34CA6 #B38D4C #4CB359 #4C72B3
square
#B34CA6 #B38D4C #4CB359 #4C72B3
split-complementary
#B34CA6 #72B34C #4CB38D
monochromatic
#5D2856 #883A7E #B34CA6 #C577BB #D7A2D1

Accessibility & contrast

On white

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

On black

4.50
#B34CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B34CA6#FFFFFF#000000##FFFFFF
##B34CA61.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BA9
Deuteranopia (green-blind)
#697AA3
Tritanopia (blue-blind)
#BA5472
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34ca6;
/* rgb */ color: rgb(179, 76, 166);
/* oklch */ color: oklch(58.2% 0.172 332.7);
Tailwind
colors: {
  custom: {
    50: '#cc84c0',
    500: '#b34ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b34ca6;
$custom-light: #cc84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ca6",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 307.573,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.1718,
    "h": 332.7
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#B34CA6
secondary
#96C49C
accent
#D06758
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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