#B34DA7#B34DA7

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

Color values

HEX#B34DA7
RGBrgb(179, 77, 167)
HSLhsl(307, 40%, 50%)
HSVhsv(307, 57%, 70%)
CMYKcmyk(0%, 57%, 6.7%, 29.8%)
CIE-LABlab(49.11, 52.91, -29.14)
CIE-LCHlch(49.11, 60.41, 331.16°)
OKLaboklab(58.33% 0.1515 -0.0796)
OKLCHoklch(58.33% 0.171 332.3)
XYZxyz(28.2193, 17.6834, 38.4787)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DA7 #4DB359
analogous
#8C4DB3 #B34DA7 #B34D74
triadic
#B34DA7 #A7B34D #4DA7B3
tetradic
#B34DA7 #B38C4D #4DB359 #4D74B3
square
#B34DA7 #B38C4D #4DB359 #4D74B3
split-complementary
#B34DA7 #74B34D #4DB38C
monochromatic
#5E2857 #893A7F #B34DA7 #C578BC #D8A3D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34DA7#FFFFFF#000000##FFFFFF
##B34DA71.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)
#4A6BAA
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#BA5573
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34da7;
/* rgb */ color: rgb(179, 77, 167);
/* oklch */ color: oklch(58.3% 0.171 332.3);
Tailwind
colors: {
  custom: {
    50: '#cc84c1',
    500: '#b34da7',
    950: '#000000',
  },
}
SCSS
$custom: #b34da7;
$custom-light: #cc84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b34da7",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 307.059,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.17108,
    "h": 332.3
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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