#B34EA3#B34EA3

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

Color values

HEX#B34EA3
RGBrgb(179, 78, 163)
HSLhsl(310, 40%, 50%)
HSVhsv(310, 56%, 70%)
CMYKcmyk(0%, 56.4%, 8.9%, 29.8%)
CIE-LABlab(49.10, 51.78, -26.79)
CIE-LCHlch(49.10, 58.30, 332.64°)
OKLaboklab(58.27% 0.1494 -0.0729)
OKLCHoklch(58.27% 0.166 334)
XYZxyz(27.9257, 17.6788, 36.5847)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EA3 #4EB35E
analogous
#904EB3 #B34EA3 #B34E70
triadic
#B34EA3 #A3B34E #4EA3B3
tetradic
#B34EA3 #B3904E #4EB35E #4E70B3
square
#B34EA3 #B3904E #4EB35E #4E70B3
split-complementary
#B34EA3 #70B34E #4EB390
monochromatic
#5E2856 #893B7D #B34EA3 #C579B9 #D8A4D0

Accessibility & contrast

On white

4.63
#B34EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B34EA3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EA3#FFFFFF#000000##FFFFFF
##B34EA31.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#BB5471
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34ea3;
/* rgb */ color: rgb(179, 78, 163);
/* oklch */ color: oklch(58.3% 0.166 334.0);
Tailwind
colors: {
  custom: {
    50: '#cc85be',
    500: '#b34ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b34ea3;
$custom-light: #cc85be;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ea3",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 309.505,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.16626,
    "h": 334
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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