#B34EAB#B34EAB

#B34EAB is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.173 H 330.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B34EAB
RGBrgb(179, 78, 171)
HSLhsl(305, 40%, 50%)
HSVhsv(305, 56%, 70%)
CMYKcmyk(0%, 56.4%, 4.5%, 29.8%)
CIE-LABlab(49.47, 53.13, -30.94)
CIE-LCHlch(49.47, 61.48, 329.79°)
OKLaboklab(58.65% 0.1507 -0.0847)
OKLCHoklch(58.65% 0.173 330.7)
XYZxyz(28.6653, 17.9747, 40.4798)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EAB #4EB356
analogous
#884EB3 #B34EAB #B34E79
triadic
#B34EAB #ABB34E #4EABB3
tetradic
#B34EAB #B3884E #4EB356 #4E79B3
square
#B34EAB #B3884E #4EB356 #4E79B3
split-complementary
#B34EAB #79B34E #4EB388
monochromatic
#5E285A #893B83 #B34EAB #C579BF #D8A4D4

Accessibility & contrast

On white

4.57
#B34EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B34EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EAB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EAB#FFFFFF#000000##000000
##B34EAB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#486DAE
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#B95775
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34eab;
/* rgb */ color: rgb(179, 78, 171);
/* oklch */ color: oklch(58.7% 0.173 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc85c4',
    500: '#b34eab',
    950: '#000000',
  },
}
SCSS
$custom: #b34eab;
$custom-light: #cc85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b34eab",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 304.752,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58652,
    "c": 0.17289,
    "h": 330.7
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#B34EAB
secondary
#98C59B
accent
#D06158
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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