#B34BA2#B34BA2

#B34BA2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.170 H 334.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B34BA2
RGBrgb(179, 75, 162)
HSLhsl(310, 41%, 50%)
HSVhsv(310, 58%, 70%)
CMYKcmyk(0%, 58.1%, 9.5%, 29.8%)
CIE-LABlab(48.54, 53.01, -27.07)
CIE-LCHlch(48.54, 59.52, 332.95°)
OKLaboklab(57.84% 0.1533 -0.0736)
OKLCHoklch(57.84% 0.17 334.3)
XYZxyz(27.6282, 17.2265, 36.0453)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BA2 #4BB35C
analogous
#904BB3 #B34BA2 #B34B6E
triadic
#B34BA2 #A2B34B #4BA2B3
tetradic
#B34BA2 #B3904B #4BB35C #4B6EB3
square
#B34BA2 #B3904B #4BB35C #4B6EB3
split-complementary
#B34BA2 #6EB34B #4BB390
monochromatic
#5D2754 #88397B #B34BA2 #C576B8 #D8A1CF

Accessibility & contrast

On white

4.72
#B34BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B34BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34BA2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BA2#FFFFFF#000000##FFFFFF
##B34BA21.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#6A799F
Tritanopia (blue-blind)
#BB5270
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b34ba2;
/* rgb */ color: rgb(179, 75, 162);
/* oklch */ color: oklch(57.8% 0.170 334.3);
Tailwind
colors: {
  custom: {
    50: '#cc83be',
    500: '#b34ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ba2;
$custom-light: #cc83be;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ba2",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 309.808,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57842,
    "c": 0.1701,
    "h": 334.3
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#B34BA2
secondary
#95C49D
accent
#D16B57
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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