#B34DA5#B34DA5

#B34DA5 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.169 H 333.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B34DA5
RGBrgb(179, 77, 165)
HSLhsl(308, 40%, 50%)
HSVhsv(308, 57%, 70%)
CMYKcmyk(0%, 57%, 7.8%, 29.8%)
CIE-LABlab(49.02, 52.58, -28.10)
CIE-LCHlch(49.02, 59.62, 331.87°)
OKLaboklab(58.24% 0.1511 -0.0766)
OKLCHoklch(58.24% 0.169 333.1)
XYZxyz(28.0358, 17.6101, 37.5125)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DA5 #4DB35B
analogous
#8E4DB3 #B34DA5 #B34D72
triadic
#B34DA5 #A5B34D #4DA5B3
tetradic
#B34DA5 #B38E4D #4DB35B #4D72B3
square
#B34DA5 #B38E4D #4DB35B #4D72B3
split-complementary
#B34DA5 #72B34D #4DB38E
monochromatic
#5E2856 #893A7E #B34DA5 #C578BB #D8A3D0

Accessibility & contrast

On white

4.64
#B34DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B34DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B34DA5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DA5#FFFFFF#000000##FFFFFF
##B34DA51.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#BA5472
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b34da5;
/* rgb */ color: rgb(179, 77, 165);
/* oklch */ color: oklch(58.2% 0.169 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc84c0',
    500: '#b34da5',
    950: '#000000',
  },
}
SCSS
$custom: #b34da5;
$custom-light: #cc84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34da5",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 308.235,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.16944,
    "h": 333.1
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#B34DA5
secondary
#97C59D
accent
#D06858
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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