#B34CB9#B34CB9

#B34CB9 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.188 H 325.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B34CB9
RGBrgb(179, 76, 185)
HSLhsl(297, 44%, 51%)
HSVhsv(297, 59%, 73%)
CMYKcmyk(3.2%, 58.9%, 0%, 27.5%)
CIE-LABlab(49.81, 56.52, -38.58)
CIE-LCHlch(49.81, 68.44, 325.68°)
OKLaboklab(59.12% 0.1549 -0.1067)
OKLCHoklch(59.12% 0.188 325.4)
XYZxyz(29.9311, 18.2571, 47.8370)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CB9 #52B94C
analogous
#7C4CB9 #B34CB9 #B94C88
triadic
#B34CB9 #B9B34C #4CB9B3
tetradic
#B34CB9 #B97C4C #52B94C #4C88B9
square
#B34CB9 #B97C4C #52B94C #4C88B9
split-complementary
#B34CB9 #88B94C #4CB97C
monochromatic
#602764 #8B3890 #B34CB9 #C678CA #D8A4DB

Accessibility & contrast

On white

4.52
#B34CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B34CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CB9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CB9#FFFFFF#000000##000000
##B34CB91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBC
Deuteranopia (green-blind)
#607BB6
Tritanopia (blue-blind)
#B75B7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34cb9;
/* rgb */ color: rgb(179, 76, 185);
/* oklch */ color: oklch(59.1% 0.188 325.4);
Tailwind
colors: {
  custom: {
    50: '#cc84ce',
    500: '#b34cb9',
    950: '#000000',
  },
}
SCSS
$custom: #b34cb9;
$custom-light: #cc84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cb9",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 296.697,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.18807,
    "h": 325.4
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#B34CB9
secondary
#9BC898
accent
#D4545B
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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