#B34CB2#B34CB2

#B34CB2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.182 H 328.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B34CB2
RGBrgb(179, 76, 178)
HSLhsl(301, 40%, 50%)
HSVhsv(301, 58%, 70%)
CMYKcmyk(0%, 57.5%, 0.6%, 29.8%)
CIE-LABlab(49.46, 55.27, -35.05)
CIE-LCHlch(49.46, 65.45, 327.62°)
OKLaboklab(58.76% 0.1542 -0.0965)
OKLCHoklch(58.76% 0.182 328)
XYZxyz(29.2103, 17.9688, 44.0406)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CB2 #4CB34D
analogous
#814CB3 #B34CB2 #B34C7E
triadic
#B34CB2 #B2B34C #4CB2B3
tetradic
#B34CB2 #B3814C #4CB34D #4C7EB3
square
#B34CB2 #B3814C #4CB34D #4C7EB3
split-complementary
#B34CB2 #7EB34C #4CB381
monochromatic
#5D285D #883A87 #B34CB2 #C577C4 #D7A2D7

Accessibility & contrast

On white

4.57
#B34CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B34CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CB2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CB2#FFFFFF#000000##000000
##B34CB21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#647AAF
Tritanopia (blue-blind)
#B85878
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34cb2;
/* rgb */ color: rgb(179, 76, 178);
/* oklch */ color: oklch(58.8% 0.182 328.0);
Tailwind
colors: {
  custom: {
    50: '#cc84c9',
    500: '#b34cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b34cb2;
$custom-light: #cc84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cb2",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 300.583,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.18193,
    "h": 328
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#B34CB2
secondary
#96C497
accent
#D05958
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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