#B34FAB#B34FAB

#B34FAB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.171 H 330.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B34FAB
RGBrgb(179, 79, 171)
HSLhsl(305, 40%, 51%)
HSVhsv(305, 56%, 70%)
CMYKcmyk(0%, 55.9%, 4.5%, 29.8%)
CIE-LABlab(49.64, 52.66, -30.67)
CIE-LCHlch(49.64, 60.94, 329.78°)
OKLaboklab(58.78% 0.1494 -0.0839)
OKLCHoklch(58.78% 0.171 330.7)
XYZxyz(28.7369, 18.1178, 40.5037)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FAB #4FB357
analogous
#894FB3 #B34FAB #B34F79
triadic
#B34FAB #ABB34F #4FABB3
tetradic
#B34FAB #B3894F #4FB357 #4F79B3
square
#B34FAB #B3894F #4FB357 #4F79B3
split-complementary
#B34FAB #79B34F #4FB389
monochromatic
#5F295A #893B83 #B34FAB #C57ABF #D8A4D4

Accessibility & contrast

On white

4.54
#B34FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B34FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FAB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FAB#FFFFFF#000000##000000
##B34FAB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#496DAE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#B95876
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34fab;
/* rgb */ color: rgb(179, 79, 171);
/* oklch */ color: oklch(58.8% 0.171 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc85c4',
    500: '#b34fab',
    950: '#000000',
  },
}
SCSS
$custom: #b34fab;
$custom-light: #cc85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fab",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 304.8,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58779,
    "c": 0.17134,
    "h": 330.7
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#B34FAB
secondary
#99C59C
accent
#D06258
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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