#B34DBC#B34DBC

#B34DBC is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.4% C 0.189 H 324.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B34DBC
RGBrgb(179, 77, 188)
HSLhsl(295, 45%, 52%)
HSVhsv(295, 59%, 74%)
CMYKcmyk(4.8%, 59%, 0%, 26.3%)
CIE-LABlab(50.13, 56.62, -39.82)
CIE-LCHlch(50.13, 69.22, 324.88°)
OKLaboklab(59.4% 0.1538 -0.1103)
OKLCHoklch(59.4% 0.189 324.4)
XYZxyz(30.3206, 18.5240, 49.5456)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DBC #56BC4D
analogous
#7C4DBC #B34DBC #BC4D8E
triadic
#B34DBC #BCB34D #4DBCB3
tetradic
#B34DBC #BC7C4D #56BC4D #4D8EBC
square
#B34DBC #BC7C4D #56BC4D #4D8EBC
split-complementary
#B34DBC #8EBC4D #4DBC7C
monochromatic
#622768 #8D3894 #B34DBC #C679CD #D9A6DD

Accessibility & contrast

On white

4.46
#B34DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B34DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DBC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DBC#FFFFFF#000000##000000
##B34DBC1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#5F7CB9
Tritanopia (blue-blind)
#B65C7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34dbc;
/* rgb */ color: rgb(179, 77, 188);
/* oklch */ color: oklch(59.4% 0.189 324.4);
Tailwind
colors: {
  custom: {
    50: '#cc85d0',
    500: '#b34dbc',
    950: '#000000',
  },
}
SCSS
$custom: #b34dbc;
$custom-light: #cc85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dbc",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 295.135,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.1893,
    "h": 324.4
  },
  "luminance": 0.18522
}

Semantic roles & 50–950 ramp

primary
#B34DBC
secondary
#9ECB9A
accent
#D5535D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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