#B34BB2#B34BB2

#B34BB2 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.183 H 328.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B34BB2
RGBrgb(179, 75, 178)
HSLhsl(301, 41%, 50%)
HSVhsv(301, 58%, 70%)
CMYKcmyk(0%, 58.1%, 0.6%, 29.8%)
CIE-LABlab(49.29, 55.73, -35.31)
CIE-LCHlch(49.29, 65.97, 327.64°)
OKLaboklab(58.63% 0.1555 -0.0972)
OKLCHoklch(58.63% 0.183 328)
XYZxyz(29.1420, 17.8320, 44.0178)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BB2 #4BB34C
analogous
#804BB3 #B34BB2 #B34B7E
triadic
#B34BB2 #B2B34B #4BB2B3
tetradic
#B34BB2 #B3804B #4BB34C #4B7EB3
square
#B34BB2 #B3804B #4BB34C #4B7EB3
split-complementary
#B34BB2 #7EB34B #4BB380
monochromatic
#5D275C #883987 #B34BB2 #C576C5 #D8A1D7

Accessibility & contrast

On white

4.60
#B34BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B34BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34BB2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BB2#FFFFFF#000000##FFFFFF
##B34BB21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#B85777
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34bb2;
/* rgb */ color: rgb(179, 75, 178);
/* oklch */ color: oklch(58.6% 0.183 328.0);
Tailwind
colors: {
  custom: {
    50: '#cc83c9',
    500: '#b34bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b34bb2;
$custom-light: #cc83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bb2",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 300.577,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.18341,
    "h": 328
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#B34BB2
secondary
#95C496
accent
#D15857
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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