#B34DB7#B34DB7

#B34DB7 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.185 H 326.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B34DB7
RGBrgb(179, 77, 183)
HSLhsl(298, 42%, 51%)
HSVhsv(298, 58%, 72%)
CMYKcmyk(2.2%, 57.9%, 0%, 28.2%)
CIE-LABlab(49.87, 55.71, -37.32)
CIE-LCHlch(49.87, 67.05, 326.18°)
OKLaboklab(59.14% 0.1534 -0.103)
OKLCHoklch(59.14% 0.185 326.1)
XYZxyz(29.7909, 18.3121, 46.7560)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DB7 #51B74D
analogous
#7E4DB7 #B34DB7 #B74D86
triadic
#B34DB7 #B7B34D #4DB7B3
tetradic
#B34DB7 #B77E4D #51B74D #4D86B7
square
#B34DB7 #B77E4D #51B74D #4D86B7
split-complementary
#B34DB7 #86B74D #4DB77E
monochromatic
#602862 #8A398E #B34DB7 #C679C9 #D8A4DA

Accessibility & contrast

On white

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

On black

4.66
#B34DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DB7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DB7#FFFFFF#000000##000000
##B34DB71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#B75B7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34db7;
/* rgb */ color: rgb(179, 77, 183);
/* oklch */ color: oklch(59.1% 0.185 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc85cd',
    500: '#b34db7',
    950: '#000000',
  },
}
SCSS
$custom: #b34db7;
$custom-light: #cc85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34db7",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 297.736,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.18482,
    "h": 326.1
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#B34DB7
secondary
#9AC798
accent
#D2565A
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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