#B34DC5#B34DC5

#B34DC5 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.198 H 321.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B34DC5
RGBrgb(179, 77, 197)
HSLhsl(291, 51%, 54%)
HSVhsv(291, 61%, 77%)
CMYKcmyk(9.1%, 60.9%, 0%, 22.7%)
CIE-LABlab(50.60, 58.30, -44.28)
CIE-LCHlch(50.60, 73.21, 322.78°)
OKLaboklab(59.9% 0.1543 -0.1232)
OKLCHoklch(59.9% 0.198 321.4)
XYZxyz(31.3212, 18.9242, 54.8154)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DC5 #5FC54D
analogous
#774DC5 #B34DC5 #C54D9B
triadic
#B34DC5 #C5B34D #4DC5B3
tetradic
#B34DC5 #C5774D #5FC54D #4D9BC5
square
#B34DC5 #C5774D #5FC54D #4D9BC5
split-complementary
#B34DC5 #9BC54D #4DC577
monochromatic
#672572 #9034A0 #B34DC5 #C77BD4 #DAA9E3

Accessibility & contrast

On white

4.39
#B34DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B34DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DC5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DC5#FFFFFF#000000##000000
##B34DC51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3271C9
Deuteranopia (green-blind)
#5A7CC2
Tritanopia (blue-blind)
#B56082
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34dc5;
/* rgb */ color: rgb(179, 77, 197);
/* oklch */ color: oklch(59.9% 0.198 321.4);
Tailwind
colors: {
  custom: {
    50: '#cd85d7',
    500: '#b34dc5',
    950: '#000000',
  },
}
SCSS
$custom: #b34dc5;
$custom-light: #cd85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dc5",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 291,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.19751,
    "h": 321.4
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#B34DC5
secondary
#A5D19D
accent
#DA4D63
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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