#B34BC5#B34BC5

#B34BC5 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.200 H 321.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B34BC5
RGBrgb(179, 75, 197)
HSLhsl(291, 51%, 53%)
HSVhsv(291, 62%, 77%)
CMYKcmyk(9.1%, 61.9%, 0%, 22.7%)
CIE-LABlab(50.27, 59.19, -44.79)
CIE-LCHlch(50.27, 74.23, 322.88°)
OKLaboklab(59.67% 0.1568 -0.1247)
OKLCHoklch(59.67% 0.2 321.5)
XYZxyz(31.1834, 18.6486, 54.7695)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BC5 #5DC54B
analogous
#764BC5 #B34BC5 #C54B9A
triadic
#B34BC5 #C5B34B #4BC5B3
tetradic
#B34BC5 #C5764B #5DC54B #4B9AC5
square
#B34BC5 #C5764B #5DC54B #4B9AC5
split-complementary
#B34BC5 #9AC54B #4BC576
monochromatic
#662471 #8F339F #B34BC5 #C779D4 #DAA8E3

Accessibility & contrast

On white

4.44
#B34BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B34BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BC5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BC5#FFFFFF#000000##000000
##B34BC51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#597CC2
Tritanopia (blue-blind)
#B55E81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34bc5;
/* rgb */ color: rgb(179, 75, 197);
/* oklch */ color: oklch(59.7% 0.200 321.5);
Tailwind
colors: {
  custom: {
    50: '#cd84d7',
    500: '#b34bc5',
    950: '#000000',
  },
}
SCSS
$custom: #b34bc5;
$custom-light: #cd84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bc5",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 291.148,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.20032,
    "h": 321.5
  },
  "luminance": 0.18647
}

Semantic roles & 50–950 ramp

primary
#B34BC5
secondary
#A3D09C
accent
#DB4D62
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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