#B34CAB#B34CAB

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

Color values

HEX#B34CAB
RGBrgb(179, 76, 171)
HSLhsl(305, 40%, 50%)
HSVhsv(305, 58%, 70%)
CMYKcmyk(0%, 57.5%, 4.5%, 29.8%)
CIE-LABlab(49.12, 54.05, -31.47)
CIE-LCHlch(49.12, 62.55, 329.79°)
OKLaboklab(58.4% 0.1534 -0.0862)
OKLCHoklch(58.4% 0.176 330.7)
XYZxyz(28.5254, 17.6948, 40.4332)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CAB #4CB354
analogous
#874CB3 #B34CAB #B34C78
triadic
#B34CAB #ABB34C #4CABB3
tetradic
#B34CAB #B3874C #4CB354 #4C78B3
square
#B34CAB #B3874C #4CB354 #4C78B3
split-complementary
#B34CAB #78B34C #4CB387
monochromatic
#5D2859 #883A82 #B34CAB #C577BF #D7A2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CAB#FFFFFF#000000##FFFFFF
##B34CAB1.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)
#466CAE
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#B95674
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34cab;
/* rgb */ color: rgb(179, 76, 171);
/* oklch */ color: oklch(58.4% 0.176 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc84c4',
    500: '#b34cab',
    950: '#000000',
  },
}
SCSS
$custom: #b34cab;
$custom-light: #cc84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cab",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 304.66,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.17594,
    "h": 330.7
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#B34CAB
secondary
#96C49A
accent
#D06158
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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