#B34EA9#B34EA9

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

Color values

HEX#B34EA9
RGBrgb(179, 78, 169)
HSLhsl(306, 40%, 50%)
HSVhsv(306, 56%, 70%)
CMYKcmyk(0%, 56.4%, 5.6%, 29.8%)
CIE-LABlab(49.37, 52.79, -29.91)
CIE-LCHlch(49.37, 60.67, 330.46°)
OKLaboklab(58.55% 0.1504 -0.0818)
OKLCHoklch(58.55% 0.171 331.5)
XYZxyz(28.4761, 17.8990, 39.4834)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA9 #4EB358
analogous
#8B4EB3 #B34EA9 #B34E76
triadic
#B34EA9 #A9B34E #4EA9B3
tetradic
#B34EA9 #B38B4E #4EB358 #4E76B3
square
#B34EA9 #B38B4E #4EB358 #4E76B3
split-complementary
#B34EA9 #76B34E #4EB38B
monochromatic
#5E2859 #893B81 #B34EA9 #C579BE #D8A4D3

Accessibility & contrast

On white

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

On black

4.58
#B34EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B34EA9#FFFFFF#000000##FFFFFF
##B34EA91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b34ea9;
/* rgb */ color: rgb(179, 78, 169);
/* oklch */ color: oklch(58.6% 0.171 331.5);
Tailwind
colors: {
  custom: {
    50: '#cc85c3',
    500: '#b34ea9',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea9;
$custom-light: #cc85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea9",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 305.941,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.1712,
    "h": 331.5
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#B34EA9
secondary
#98C59C
accent
#D06458
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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