#B34DB2#B34DB2

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

Color values

HEX#B34DB2
RGBrgb(179, 77, 178)
HSLhsl(301, 40%, 50%)
HSVhsv(301, 57%, 70%)
CMYKcmyk(0%, 57%, 0.6%, 29.8%)
CIE-LABlab(49.63, 54.81, -34.79)
CIE-LCHlch(49.63, 64.92, 327.60°)
OKLaboklab(58.88% 0.1529 -0.0957)
OKLCHoklch(58.88% 0.18 327.9)
XYZxyz(29.2797, 18.1076, 44.0638)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DB2 #4DB34E
analogous
#814DB3 #B34DB2 #B34D7F
triadic
#B34DB2 #B2B34D #4DB2B3
tetradic
#B34DB2 #B3814D #4DB34E #4D7FB3
square
#B34DB2 #B3814D #4DB34E #4D7FB3
split-complementary
#B34DB2 #7FB34D #4DB381
monochromatic
#5E285D #893A88 #B34DB2 #C578C5 #D8A3D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34DB2#FFFFFF#000000##000000
##B34DB21.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)
#436DB5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#B85978
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34db2;
/* rgb */ color: rgb(179, 77, 178);
/* oklch */ color: oklch(58.9% 0.180 327.9);
Tailwind
colors: {
  custom: {
    50: '#cc84c9',
    500: '#b34db2',
    950: '#000000',
  },
}
SCSS
$custom: #b34db2;
$custom-light: #cc84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34db2",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 300.588,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.18042,
    "h": 327.9
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#B34DB2
secondary
#97C598
accent
#D05958
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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