#B34DB8#B34DB8

#B34DB8 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.186 H 325.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B34DB8
RGBrgb(179, 77, 184)
HSLhsl(297, 43%, 51%)
HSVhsv(297, 58%, 72%)
CMYKcmyk(2.7%, 58.2%, 0%, 27.8%)
CIE-LABlab(49.92, 55.89, -37.82)
CIE-LCHlch(49.92, 67.48, 325.91°)
OKLaboklab(59.19% 0.1535 -0.1045)
OKLCHoklch(59.19% 0.186 325.8)
XYZxyz(29.8954, 18.3539, 47.3061)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DB8 #52B84D
analogous
#7D4DB8 #B34DB8 #B84D87
triadic
#B34DB8 #B8B34D #4DB8B3
tetradic
#B34DB8 #B87D4D #52B84D #4D87B8
square
#B34DB8 #B87D4D #52B84D #4D87B8
split-complementary
#B34DB8 #87B84D #4DB87D
monochromatic
#602863 #8B398F #B34DB8 #C679C9 #D8A4DB

Accessibility & contrast

On white

4.50
#B34DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B34DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DB8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DB8#FFFFFF#000000##000000
##B34DB81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBB
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#B75B7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34db8;
/* rgb */ color: rgb(179, 77, 184);
/* oklch */ color: oklch(59.2% 0.186 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc85ce',
    500: '#b34db8',
    950: '#000000',
  },
}
SCSS
$custom: #b34db8;
$custom-light: #cc85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b34db8",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 297.196,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59191,
    "c": 0.18571,
    "h": 325.8
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#B34DB8
secondary
#9BC899
accent
#D3555B
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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