#B34DA8#B34DA8

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

Color values

HEX#B34DA8
RGBrgb(179, 77, 168)
HSLhsl(306, 40%, 50%)
HSVhsv(306, 57%, 70%)
CMYKcmyk(0%, 57%, 6.1%, 29.8%)
CIE-LABlab(49.16, 53.08, -29.66)
CIE-LCHlch(49.16, 60.81, 330.81°)
OKLaboklab(58.38% 0.1516 -0.081)
OKLCHoklch(58.38% 0.172 331.9)
XYZxyz(28.3121, 17.7206, 38.9674)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DA8 #4DB358
analogous
#8B4DB3 #B34DA8 #B34D75
triadic
#B34DA8 #A8B34D #4DA8B3
tetradic
#B34DA8 #B38B4D #4DB358 #4D75B3
square
#B34DA8 #B38B4D #4DB358 #4D75B3
split-complementary
#B34DA8 #75B34D #4DB38B
monochromatic
#5E2858 #893A80 #B34DA8 #C578BD #D8A3D2

Accessibility & contrast

On white

4.62
#B34DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B34DA8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DA8#FFFFFF#000000##FFFFFF
##B34DA81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496CAB
Deuteranopia (green-blind)
#697AA5
Tritanopia (blue-blind)
#BA5573
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34da8;
/* rgb */ color: rgb(179, 77, 168);
/* oklch */ color: oklch(58.4% 0.172 331.9);
Tailwind
colors: {
  custom: {
    50: '#cc84c2',
    500: '#b34da8',
    950: '#000000',
  },
}
SCSS
$custom: #b34da8;
$custom-light: #cc84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b34da8",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 168
  },
  "hsl": {
    "h": 306.471,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.17191,
    "h": 331.9
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#B34DA8
secondary
#97C59C
accent
#D06558
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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