#B34EA7#B34EA7

#B34EA7 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.170 H 332.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B34EA7
RGBrgb(179, 78, 167)
HSLhsl(307, 40%, 50%)
HSVhsv(307, 56%, 70%)
CMYKcmyk(0%, 56.4%, 6.7%, 29.8%)
CIE-LABlab(49.28, 52.45, -28.87)
CIE-LCHlch(49.28, 59.87, 331.17°)
OKLaboklab(58.46% 0.1501 -0.0788)
OKLCHoklch(58.46% 0.17 332.3)
XYZxyz(28.2898, 17.8245, 38.5022)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA7 #4EB35A
analogous
#8D4EB3 #B34EA7 #B34E74
triadic
#B34EA7 #A7B34E #4EA7B3
tetradic
#B34EA7 #B38D4E #4EB35A #4E74B3
square
#B34EA7 #B38D4E #4EB35A #4E74B3
split-complementary
#B34EA7 #74B34E #4EB38D
monochromatic
#5E2858 #893B80 #B34EA7 #C579BC #D8A4D2

Accessibility & contrast

On white

4.60
#B34EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B34EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34EA7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EA7#FFFFFF#000000##FFFFFF
##B34EA71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CAA
Deuteranopia (green-blind)
#6A7AA4
Tritanopia (blue-blind)
#BA5673
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34ea7;
/* rgb */ color: rgb(179, 78, 167);
/* oklch */ color: oklch(58.5% 0.170 332.3);
Tailwind
colors: {
  custom: {
    50: '#cc85c1',
    500: '#b34ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea7;
$custom-light: #cc85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea7",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 307.129,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.16954,
    "h": 332.3
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#B34EA7
secondary
#98C59D
accent
#D06658
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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