#B34DB1#B34DB1

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

Color values

HEX#B34DB1
RGBrgb(179, 77, 177)
HSLhsl(301, 40%, 50%)
HSVhsv(301, 57%, 70%)
CMYKcmyk(0%, 57%, 1.1%, 29.8%)
CIE-LABlab(49.58, 54.64, -34.28)
CIE-LCHlch(49.58, 64.50, 327.90°)
OKLaboklab(58.83% 0.1528 -0.0943)
OKLCHoklch(58.83% 0.18 328.3)
XYZxyz(29.1797, 18.0676, 43.5369)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DB1 #4DB34F
analogous
#824DB3 #B34DB1 #B34D7E
triadic
#B34DB1 #B1B34D #4DB1B3
tetradic
#B34DB1 #B3824D #4DB34F #4D7EB3
square
#B34DB1 #B3824D #4DB34F #4D7EB3
split-complementary
#B34DB1 #7EB34D #4DB382
monochromatic
#5E285D #893A87 #B34DB1 #C578C4 #D8A3D7

Accessibility & contrast

On white

4.55
#B34DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B34DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DB1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DB1#FFFFFF#000000##000000
##B34DB11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#B85878
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34db1;
/* rgb */ color: rgb(179, 77, 177);
/* oklch */ color: oklch(58.8% 0.180 328.3);
Tailwind
colors: {
  custom: {
    50: '#cc84c8',
    500: '#b34db1',
    950: '#000000',
  },
}
SCSS
$custom: #b34db1;
$custom-light: #cc84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34db1",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 301.176,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.17956,
    "h": 328.3
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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