#B34CB5#B34CB5

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

Color values

HEX#B34CB5
RGBrgb(179, 76, 181)
HSLhsl(299, 42%, 50%)
HSVhsv(299, 58%, 71%)
CMYKcmyk(1.1%, 58%, 0%, 29%)
CIE-LABlab(49.61, 55.80, -36.57)
CIE-LCHlch(49.61, 66.72, 326.76°)
OKLaboklab(58.91% 0.1545 -0.1009)
OKLCHoklch(58.91% 0.185 326.9)
XYZxyz(29.5148, 18.0906, 45.6443)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CB5 #4EB54C
analogous
#7E4CB5 #B34CB5 #B54C82
triadic
#B34CB5 #B5B34C #4CB5B3
tetradic
#B34CB5 #B57E4C #4EB54C #4C82B5
square
#B34CB5 #B57E4C #4EB54C #4C82B5
split-complementary
#B34CB5 #82B54C #4CB57E
monochromatic
#5E275F #89398B #B34CB5 #C577C7 #D8A3D9

Accessibility & contrast

On white

4.55
#B34CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CB5#FFFFFF#000000##000000
##B34CB51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#B85979
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34cb5;
/* rgb */ color: rgb(179, 76, 181);
/* oklch */ color: oklch(58.9% 0.185 326.9);
Tailwind
colors: {
  custom: {
    50: '#cc84cb',
    500: '#b34cb5',
    950: '#000000',
  },
}
SCSS
$custom: #b34cb5;
$custom-light: #cc84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cb5",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 298.857,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.18454,
    "h": 326.9
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#B34CB5
secondary
#98C697
accent
#D15659
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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