#B34CA1#B34CA1

#B34CA1 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.9% C 0.168 H 334.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B34CA1
RGBrgb(179, 76, 161)
HSLhsl(310, 40%, 50%)
HSVhsv(310, 58%, 70%)
CMYKcmyk(0%, 57.5%, 10.1%, 29.8%)
CIE-LABlab(48.67, 52.38, -26.28)
CIE-LCHlch(48.67, 58.61, 333.35°)
OKLaboklab(57.92% 0.1518 -0.0714)
OKLCHoklch(57.92% 0.168 334.8)
XYZxyz(27.6080, 17.3278, 35.6018)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CA1 #4CB35E
analogous
#914CB3 #B34CA1 #B34C6E
triadic
#B34CA1 #A1B34C #4CA1B3
tetradic
#B34CA1 #B3914C #4CB35E #4C6EB3
square
#B34CA1 #B3914C #4CB35E #4C6EB3
split-complementary
#B34CA1 #6EB34C #4CB391
monochromatic
#5D2854 #883A7A #B34CA1 #C577B8 #D7A2CE

Accessibility & contrast

On white

4.70
#B34CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B34CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34CA1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CA1#FFFFFF#000000##FFFFFF
##B34CA11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA4
Deuteranopia (green-blind)
#6B799E
Tritanopia (blue-blind)
#BB526F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34ca1;
/* rgb */ color: rgb(179, 76, 161);
/* oklch */ color: oklch(57.9% 0.168 334.8);
Tailwind
colors: {
  custom: {
    50: '#cc83bd',
    500: '#b34ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b34ca1;
$custom-light: #cc83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ca1",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 310.485,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.16777,
    "h": 334.8
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#B34CA1
secondary
#96C49E
accent
#D06D58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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