#B34CA7#B34CA7

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

Color values

HEX#B34CA7
RGBrgb(179, 76, 167)
HSLhsl(307, 40%, 50%)
HSVhsv(307, 58%, 70%)
CMYKcmyk(0%, 57.5%, 6.7%, 29.8%)
CIE-LABlab(48.94, 53.38, -29.41)
CIE-LCHlch(48.94, 60.94, 331.15°)
OKLaboklab(58.21% 0.1528 -0.0803)
OKLCHoklch(58.21% 0.173 332.3)
XYZxyz(28.1499, 17.5446, 38.4555)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CA7 #4CB358
analogous
#8B4CB3 #B34CA7 #B34C74
triadic
#B34CA7 #A7B34C #4CA7B3
tetradic
#B34CA7 #B38B4C #4CB358 #4C74B3
square
#B34CA7 #B38B4C #4CB358 #4C74B3
split-complementary
#B34CA7 #74B34C #4CB38B
monochromatic
#5D2857 #883A7F #B34CA7 #C577BC #D7A2D1

Accessibility & contrast

On white

4.66
#B34CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B34CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34CA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CA7#FFFFFF#000000##FFFFFF
##B34CA71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAA
Deuteranopia (green-blind)
#687AA4
Tritanopia (blue-blind)
#BA5472
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34ca7;
/* rgb */ color: rgb(179, 76, 167);
/* oklch */ color: oklch(58.2% 0.173 332.3);
Tailwind
colors: {
  custom: {
    50: '#cc84c1',
    500: '#b34ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b34ca7;
$custom-light: #cc84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ca7",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 306.99,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.17262,
    "h": 332.3
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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