#B34DB3#B34DB3

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

Color values

HEX#B34DB3
RGBrgb(179, 77, 179)
HSLhsl(300, 40%, 50%)
HSVhsv(300, 57%, 70%)
CMYKcmyk(0%, 57%, 0%, 29.8%)
CIE-LABlab(49.67, 54.99, -35.29)
CIE-LCHlch(49.67, 65.34, 327.31°)
OKLaboklab(58.93% 0.153 -0.0972)
OKLCHoklch(58.93% 0.181 327.6)
XYZxyz(29.3805, 18.1479, 44.5945)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DB3 #4DB34D
analogous
#804DB3 #B34DB3 #B34D80
triadic
#B34DB3 #B3B34D #4DB3B3
tetradic
#B34DB3 #B3804D #4DB34D #4D80B3
square
#B34DB3 #B3804D #4DB34D #4D80B3
split-complementary
#B34DB3 #80B34D #4DB380
monochromatic
#5E285E #893A89 #B34DB3 #C578C5 #D8A3D8

Accessibility & contrast

On white

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

On black

4.63
#B34DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DB3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DB3#FFFFFF#000000##000000
##B34DB31.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#426EB6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#B85979
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34db3;
/* rgb */ color: rgb(179, 77, 179);
/* oklch */ color: oklch(58.9% 0.181 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc84ca',
    500: '#b34db3',
    950: '#000000',
  },
}
SCSS
$custom: #b34db3;
$custom-light: #cc84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b34db3",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58929,
    "c": 0.1813,
    "h": 327.6
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#B34DB3
secondary
#97C597
accent
#D05858
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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