#B34DAC#B34DAC

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

Color values

HEX#B34DAC
RGBrgb(179, 77, 172)
HSLhsl(304, 40%, 50%)
HSVhsv(304, 57%, 70%)
CMYKcmyk(0%, 57%, 3.9%, 29.8%)
CIE-LABlab(49.34, 53.77, -31.72)
CIE-LCHlch(49.34, 62.43, 329.46°)
OKLaboklab(58.58% 0.1522 -0.0869)
OKLCHoklch(58.58% 0.175 330.3)
XYZxyz(28.6905, 17.8719, 40.9602)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DAC #4DB354
analogous
#874DB3 #B34DAC #B34D79
triadic
#B34DAC #ACB34D #4DACB3
tetradic
#B34DAC #B3874D #4DB354 #4D79B3
square
#B34DAC #B3874D #4DB354 #4D79B3
split-complementary
#B34DAC #79B34D #4DB387
monochromatic
#5E285A #893A83 #B34DAC #C578C0 #D8A3D4

Accessibility & contrast

On white

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

On black

4.57
#B34DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B34DAC#FFFFFF#000000##FFFFFF
##B34DAC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#B95775
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34dac;
/* rgb */ color: rgb(179, 77, 172);
/* oklch */ color: oklch(58.6% 0.175 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc84c5',
    500: '#b34dac',
    950: '#000000',
  },
}
SCSS
$custom: #b34dac;
$custom-light: #cc84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dac",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 172
  },
  "hsl": {
    "h": 304.118,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.17527,
    "h": 330.3
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#B34DAC
secondary
#97C59A
accent
#D06058
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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