#B34EA5#B34EA5

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

Color values

HEX#B34EA5
RGBrgb(179, 78, 165)
HSLhsl(308, 40%, 50%)
HSVhsv(308, 56%, 70%)
CMYKcmyk(0%, 56.4%, 7.8%, 29.8%)
CIE-LABlab(49.19, 52.11, -27.83)
CIE-LCHlch(49.19, 59.08, 331.89°)
OKLaboklab(58.36% 0.1498 -0.0758)
OKLCHoklch(58.36% 0.168 333.1)
XYZxyz(28.1063, 17.7511, 37.5360)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA5 #4EB35C
analogous
#8E4EB3 #B34EA5 #B34E72
triadic
#B34EA5 #A5B34E #4EA5B3
tetradic
#B34EA5 #B38E4E #4EB35C #4E72B3
square
#B34EA5 #B38E4E #4EB35C #4E72B3
split-complementary
#B34EA5 #72B34E #4EB38E
monochromatic
#5E2857 #893B7E #B34EA5 #C579BB #D8A4D1

Accessibility & contrast

On white

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

On black

4.55
#B34EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B34EA5#FFFFFF#000000##FFFFFF
##B34EA51.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b34ea5;
/* rgb */ color: rgb(179, 78, 165);
/* oklch */ color: oklch(58.4% 0.168 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc85c0',
    500: '#b34ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea5;
$custom-light: #cc85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea5",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 308.317,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.16789,
    "h": 333.1
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#B34EA5
secondary
#98C59E
accent
#D06958
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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