#B34CB4#B34CB4

#B34CB4 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.184 H 327.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B34CB4
RGBrgb(179, 76, 180)
HSLhsl(299, 41%, 50%)
HSVhsv(299, 58%, 71%)
CMYKcmyk(0.6%, 57.8%, 0%, 29.4%)
CIE-LABlab(49.56, 55.63, -36.06)
CIE-LCHlch(49.56, 66.29, 327.04°)
OKLaboklab(58.86% 0.1544 -0.0994)
OKLCHoklch(58.86% 0.184 327.2)
XYZxyz(29.4126, 18.0497, 45.1059)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CB4 #4DB44C
analogous
#7F4CB4 #B34CB4 #B44C81
triadic
#B34CB4 #B4B34C #4CB4B3
tetradic
#B34CB4 #B47F4C #4DB44C #4C81B4
square
#B34CB4 #B47F4C #4DB44C #4C81B4
split-complementary
#B34CB4 #81B44C #4CB47F
monochromatic
#5E275E #893A89 #B34CB4 #C577C6 #D8A2D8

Accessibility & contrast

On white

4.56
#B34CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B34CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CB4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CB4#FFFFFF#000000##000000
##B34CB41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#B85979
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34cb4;
/* rgb */ color: rgb(179, 76, 180);
/* oklch */ color: oklch(58.9% 0.184 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc84cb',
    500: '#b34cb4',
    950: '#000000',
  },
}
SCSS
$custom: #b34cb4;
$custom-light: #cc84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cb4",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 299.423,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.18366,
    "h": 327.2
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#B34CB4
secondary
#97C597
accent
#D15758
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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