#B34EA8#B34EA8

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

Color values

HEX#B34EA8
RGBrgb(179, 78, 168)
HSLhsl(307, 40%, 50%)
HSVhsv(307, 56%, 70%)
CMYKcmyk(0%, 56.4%, 6.1%, 29.8%)
CIE-LABlab(49.33, 52.62, -29.39)
CIE-LCHlch(49.33, 60.27, 330.81°)
OKLaboklab(58.51% 0.1503 -0.0803)
OKLCHoklch(58.51% 0.17 331.9)
XYZxyz(28.3826, 17.8616, 38.9909)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA8 #4EB359
analogous
#8C4EB3 #B34EA8 #B34E75
triadic
#B34EA8 #A8B34E #4EA8B3
tetradic
#B34EA8 #B38C4E #4EB359 #4E75B3
square
#B34EA8 #B38C4E #4EB359 #4E75B3
split-complementary
#B34EA8 #75B34E #4EB38C
monochromatic
#5E2858 #893B80 #B34EA8 #C579BD #D8A4D2

Accessibility & contrast

On white

4.59
#B34EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B34EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34EA8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EA8#FFFFFF#000000##FFFFFF
##B34EA81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAB
Deuteranopia (green-blind)
#697AA5
Tritanopia (blue-blind)
#BA5674
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34ea8;
/* rgb */ color: rgb(179, 78, 168);
/* oklch */ color: oklch(58.5% 0.170 331.9);
Tailwind
colors: {
  custom: {
    50: '#cc85c2',
    500: '#b34ea8',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea8;
$custom-light: #cc85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea8",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 306.535,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.17036,
    "h": 331.9
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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