#B34DC2#B34DC2

#B34DC2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.195 H 322.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B34DC2
RGBrgb(179, 77, 194)
HSLhsl(292, 49%, 53%)
HSVhsv(292, 60%, 76%)
CMYKcmyk(7.7%, 60.3%, 0%, 23.9%)
CIE-LABlab(50.44, 57.73, -42.80)
CIE-LCHlch(50.44, 71.87, 323.45°)
OKLaboklab(59.73% 0.1542 -0.1189)
OKLCHoklch(59.73% 0.195 322.4)
XYZxyz(30.9809, 18.7881, 53.0231)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DC2 #5CC24D
analogous
#784DC2 #B34DC2 #C24D96
triadic
#B34DC2 #C2B34D #4DC2B3
tetradic
#B34DC2 #C2784D #5CC24D #4D96C2
square
#B34DC2 #C2784D #5CC24D #4D96C2
split-complementary
#B34DC2 #96C24D #4DC278
monochromatic
#65266F #8F369C #B34DC2 #C67BD2 #DAA8E1

Accessibility & contrast

On white

4.41
#B34DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B34DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DC2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DC2#FFFFFF#000000##000000
##B34DC21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3670C6
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#B55F80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34dc2;
/* rgb */ color: rgb(179, 77, 194);
/* oklch */ color: oklch(59.7% 0.195 322.4);
Tailwind
colors: {
  custom: {
    50: '#cd85d5',
    500: '#b34dc2',
    950: '#000000',
  },
}
SCSS
$custom: #b34dc2;
$custom-light: #cd85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dc2",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 292.308,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.19476,
    "h": 322.4
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#B34DC2
secondary
#A3CF9C
accent
#D94F61
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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