#B34CA2#B34CA2

#B34CA2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.169 H 334.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B34CA2
RGBrgb(179, 76, 162)
HSLhsl(310, 40%, 50%)
HSVhsv(310, 58%, 70%)
CMYKcmyk(0%, 57.5%, 9.5%, 29.8%)
CIE-LABlab(48.71, 52.54, -26.81)
CIE-LCHlch(48.71, 58.99, 332.97°)
OKLaboklab(57.97% 0.152 -0.0729)
OKLCHoklch(57.97% 0.169 334.4)
XYZxyz(27.6965, 17.3633, 36.0681)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CA2 #4CB35D
analogous
#914CB3 #B34CA2 #B34C6E
triadic
#B34CA2 #A2B34C #4CA2B3
tetradic
#B34CA2 #B3914C #4CB35D #4C6EB3
square
#B34CA2 #B3914C #4CB35D #4C6EB3
split-complementary
#B34CA2 #6EB34C #4CB391
monochromatic
#5D2854 #883A7B #B34CA2 #C577B8 #D7A2CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CA2#FFFFFF#000000##FFFFFF
##B34CA21.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)
#4B6AA5
Deuteranopia (green-blind)
#6A799F
Tritanopia (blue-blind)
#BB5270
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34ca2;
/* rgb */ color: rgb(179, 76, 162);
/* oklch */ color: oklch(58.0% 0.169 334.4);
Tailwind
colors: {
  custom: {
    50: '#cc83bd',
    500: '#b34ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ca2;
$custom-light: #cc83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ca2",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 309.903,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.16856,
    "h": 334.4
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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