#B34BC4#B34BC4

#B34BC4 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.6% C 0.199 H 321.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B34BC4
RGBrgb(179, 75, 196)
HSLhsl(292, 51%, 53%)
HSVhsv(292, 62%, 77%)
CMYKcmyk(8.7%, 61.7%, 0%, 23.1%)
CIE-LABlab(50.22, 59.00, -44.30)
CIE-LCHlch(50.22, 73.78, 323.10°)
OKLaboklab(59.61% 0.1567 -0.1233)
OKLCHoklch(59.61% 0.199 321.8)
XYZxyz(31.0692, 18.6030, 54.1681)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BC4 #5CC44B
analogous
#764BC4 #B34BC4 #C44B99
triadic
#B34BC4 #C4B34B #4BC4B3
tetradic
#B34BC4 #C4764B #5CC44B #4B99C4
square
#B34BC4 #C4764B #5CC44B #4B99C4
split-complementary
#B34BC4 #99C44B #4BC476
monochromatic
#652570 #8F349E #B34BC4 #C679D3 #DAA7E2

Accessibility & contrast

On white

4.45
#B34BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B34BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BC4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BC4#FFFFFF#000000##000000
##B34BC41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3070C8
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#B55E81
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34bc4;
/* rgb */ color: rgb(179, 75, 196);
/* oklch */ color: oklch(59.6% 0.199 321.8);
Tailwind
colors: {
  custom: {
    50: '#cd84d6',
    500: '#b34bc4',
    950: '#000000',
  },
}
SCSS
$custom: #b34bc4;
$custom-light: #cd84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bc4",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 291.57,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.19941,
    "h": 321.8
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#B34BC4
secondary
#A3CF9B
accent
#DA4E61
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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