#B34FB2#B34FB2

#B34FB2 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.1% C 0.177 H 327.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B34FB2
RGBrgb(179, 79, 178)
HSLhsl(301, 40%, 51%)
HSVhsv(301, 56%, 70%)
CMYKcmyk(0%, 55.9%, 0.6%, 29.8%)
CIE-LABlab(49.97, 53.89, -34.25)
CIE-LCHlch(49.97, 63.85, 327.56°)
OKLaboklab(59.13% 0.1503 -0.0942)
OKLCHoklch(59.13% 0.177 327.9)
XYZxyz(29.4218, 18.3918, 44.1111)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FB2 #4FB350
analogous
#824FB3 #B34FB2 #B34F80
triadic
#B34FB2 #B2B34F #4FB2B3
tetradic
#B34FB2 #B3824F #4FB350 #4F80B3
square
#B34FB2 #B3824F #4FB350 #4F80B3
split-complementary
#B34FB2 #80B34F #4FB382
monochromatic
#5F295E #893B89 #B34FB2 #C57AC5 #D8A4D7

Accessibility & contrast

On white

4.49
#B34FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B34FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FB2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FB2#FFFFFF#000000##000000
##B34FB21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#657CAF
Tritanopia (blue-blind)
#B85A79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34fb2;
/* rgb */ color: rgb(179, 79, 178);
/* oklch */ color: oklch(59.1% 0.177 327.9);
Tailwind
colors: {
  custom: {
    50: '#cc86c9',
    500: '#b34fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b34fb2;
$custom-light: #cc86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fb2",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 300.6,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59128,
    "c": 0.1774,
    "h": 327.9
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#B34FB2
secondary
#99C599
accent
#D05958
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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