#B34CA4#B34CA4

#B34CA4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.170 H 333.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B34CA4
RGBrgb(179, 76, 164)
HSLhsl(309, 40%, 50%)
HSVhsv(309, 58%, 70%)
CMYKcmyk(0%, 57.5%, 8.4%, 29.8%)
CIE-LABlab(48.80, 52.87, -27.85)
CIE-LCHlch(48.80, 59.76, 332.22°)
OKLaboklab(58.06% 0.1523 -0.0759)
OKLCHoklch(58.06% 0.17 333.5)
XYZxyz(27.8757, 17.4349, 37.0118)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CA4 #4CB35B
analogous
#8F4CB3 #B34CA4 #B34C70
triadic
#B34CA4 #A4B34C #4CA4B3
tetradic
#B34CA4 #B38F4C #4CB35B #4C70B3
square
#B34CA4 #B38F4C #4CB35B #4C70B3
split-complementary
#B34CA4 #70B34C #4CB38F
monochromatic
#5D2855 #883A7D #B34CA4 #C577BA #D7A2D0

Accessibility & contrast

On white

4.68
#B34CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B34CA4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CA4#FFFFFF#000000##FFFFFF
##B34CA41.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA7
Deuteranopia (green-blind)
#6A79A1
Tritanopia (blue-blind)
#BB5371
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34ca4;
/* rgb */ color: rgb(179, 76, 164);
/* oklch */ color: oklch(58.1% 0.170 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc83bf',
    500: '#b34ca4',
    950: '#000000',
  },
}
SCSS
$custom: #b34ca4;
$custom-light: #cc83bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ca4",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 308.738,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58061,
    "c": 0.17017,
    "h": 333.5
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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