#B34EB2#B34EB2

#B34EB2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.179 H 327.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B34EB2
RGBrgb(179, 78, 178)
HSLhsl(301, 40%, 50%)
HSVhsv(301, 56%, 70%)
CMYKcmyk(0%, 56.4%, 0.6%, 29.8%)
CIE-LABlab(49.80, 54.35, -34.52)
CIE-LCHlch(49.80, 64.39, 327.58°)
OKLaboklab(59% 0.1516 -0.095)
OKLCHoklch(59% 0.179 327.9)
XYZxyz(29.3503, 18.2486, 44.0873)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EB2 #4EB34F
analogous
#814EB3 #B34EB2 #B34E7F
triadic
#B34EB2 #B2B34E #4EB2B3
tetradic
#B34EB2 #B3814E #4EB34F #4E7FB3
square
#B34EB2 #B3814E #4EB34F #4E7FB3
split-complementary
#B34EB2 #7FB34E #4EB381
monochromatic
#5E285E #893B88 #B34EB2 #C579C5 #D8A4D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34EB2#FFFFFF#000000##000000
##B34EB21.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)
#446EB5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#B85A79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34eb2;
/* rgb */ color: rgb(179, 78, 178);
/* oklch */ color: oklch(59.0% 0.179 327.9);
Tailwind
colors: {
  custom: {
    50: '#cc85c9',
    500: '#b34eb2',
    950: '#000000',
  },
}
SCSS
$custom: #b34eb2;
$custom-light: #cc85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34eb2",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 300.594,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.17892,
    "h": 327.9
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#B34EB2
secondary
#98C598
accent
#D05958
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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