#B34BB4#B34BB4

#B34BB4 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.185 H 327.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B34BB4
RGBrgb(179, 75, 180)
HSLhsl(299, 41%, 50%)
HSVhsv(299, 58%, 71%)
CMYKcmyk(0.6%, 58.3%, 0%, 29.4%)
CIE-LABlab(49.39, 56.08, -36.32)
CIE-LCHlch(49.39, 66.82, 327.07°)
OKLaboklab(58.74% 0.1557 -0.1002)
OKLCHoklch(58.74% 0.185 327.2)
XYZxyz(29.3442, 17.9130, 45.0831)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BB4 #4CB44B
analogous
#7F4BB4 #B34BB4 #B44B80
triadic
#B34BB4 #B4B34B #4BB4B3
tetradic
#B34BB4 #B47F4B #4CB44B #4B80B4
square
#B34BB4 #B47F4B #4CB44B #4B80B4
split-complementary
#B34BB4 #80B44B #4BB47F
monochromatic
#5D275E #883989 #B34BB4 #C576C6 #D7A1D8

Accessibility & contrast

On white

4.58
#B34BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B34BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BB4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BB4#FFFFFF#000000##000000
##B34BB41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB7
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#B85878
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34bb4;
/* rgb */ color: rgb(179, 75, 180);
/* oklch */ color: oklch(58.7% 0.185 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc83cb',
    500: '#b34bb4',
    950: '#000000',
  },
}
SCSS
$custom: #b34bb4;
$custom-light: #cc83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bb4",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 299.429,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.18514,
    "h": 327.2
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#B34BB4
secondary
#96C596
accent
#D15758
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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