#B34EA4#B34EA4

#B34EA4 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.167 H 333.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B34EA4
RGBrgb(179, 78, 164)
HSLhsl(309, 40%, 50%)
HSVhsv(309, 56%, 70%)
CMYKcmyk(0%, 56.4%, 8.4%, 29.8%)
CIE-LABlab(49.15, 51.94, -27.31)
CIE-LCHlch(49.15, 58.69, 332.26°)
OKLaboklab(58.32% 0.1496 -0.0744)
OKLCHoklch(58.32% 0.167 333.6)
XYZxyz(28.0157, 17.7148, 37.0585)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA4 #4EB35D
analogous
#8F4EB3 #B34EA4 #B34E71
triadic
#B34EA4 #A4B34E #4EA4B3
tetradic
#B34EA4 #B38F4E #4EB35D #4E71B3
square
#B34EA4 #B38F4E #4EB35D #4E71B3
split-complementary
#B34EA4 #71B34E #4EB38F
monochromatic
#5E2856 #893B7D #B34EA4 #C579BA #D8A4D0

Accessibility & contrast

On white

4.62
#B34EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B34EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34EA4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EA4#FFFFFF#000000##FFFFFF
##B34EA41.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#6B7AA1
Tritanopia (blue-blind)
#BA5572
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34ea4;
/* rgb */ color: rgb(179, 78, 164);
/* oklch */ color: oklch(58.3% 0.167 333.6);
Tailwind
colors: {
  custom: {
    50: '#cc85bf',
    500: '#b34ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea4;
$custom-light: #cc85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea4",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 308.911,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.16707,
    "h": 333.6
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#B34EA4
secondary
#98C59F
accent
#D06A58
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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