#B34BB9#B34BB9

#B34BB9 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.190 H 325.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B34BB9
RGBrgb(179, 75, 185)
HSLhsl(297, 44%, 51%)
HSVhsv(297, 59%, 73%)
CMYKcmyk(3.2%, 59.5%, 0%, 27.5%)
CIE-LABlab(49.64, 56.97, -38.84)
CIE-LCHlch(49.64, 68.95, 325.72°)
OKLaboklab(59% 0.1561 -0.1074)
OKLCHoklch(59% 0.19 325.5)
XYZxyz(29.8628, 18.1204, 47.8142)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BB9 #51B94B
analogous
#7C4BB9 #B34BB9 #B94B88
triadic
#B34BB9 #B9B34B #4BB9B3
tetradic
#B34BB9 #B97C4B #51B94B #4B88B9
square
#B34BB9 #B97C4B #51B94B #4B88B9
split-complementary
#B34BB9 #88B94B #4BB97C
monochromatic
#602763 #8A388F #B34BB9 #C677CA #D8A3DB

Accessibility & contrast

On white

4.54
#B34BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B34BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BB9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BB9#FFFFFF#000000##000000
##B34BB91.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBC
Deuteranopia (green-blind)
#5F7BB6
Tritanopia (blue-blind)
#B75A7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34bb9;
/* rgb */ color: rgb(179, 75, 185);
/* oklch */ color: oklch(59.0% 0.190 325.5);
Tailwind
colors: {
  custom: {
    50: '#cd83ce',
    500: '#b34bb9',
    950: '#000000',
  },
}
SCSS
$custom: #b34bb9;
$custom-light: #cd83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bb9",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 296.727,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.18953,
    "h": 325.5
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#B34BB9
secondary
#9AC898
accent
#D4545B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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