#B34FB3#B34FB3

#B34FB3 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.178 H 327.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B34FB3
RGBrgb(179, 79, 179)
HSLhsl(300, 40%, 51%)
HSVhsv(300, 56%, 70%)
CMYKcmyk(0%, 55.9%, 0%, 29.8%)
CIE-LABlab(50.02, 54.06, -34.76)
CIE-LCHlch(50.02, 64.27, 327.26°)
OKLaboklab(59.18% 0.1504 -0.0957)
OKLCHoklch(59.18% 0.178 327.5)
XYZxyz(29.5226, 18.4321, 44.6418)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FB3 #4FB34F
analogous
#814FB3 #B34FB3 #B34F81
triadic
#B34FB3 #B3B34F #4FB3B3
tetradic
#B34FB3 #B3814F #4FB34F #4F81B3
square
#B34FB3 #B3814F #4FB34F #4F81B3
split-complementary
#B34FB3 #81B34F #4FB381
monochromatic
#5F295F #893B89 #B34FB3 #C57AC5 #D8A4D8

Accessibility & contrast

On white

4.48
#B34FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B34FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FB3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FB3#FFFFFF#000000##000000
##B34FB31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#446FB6
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#B85B7A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34fb3;
/* rgb */ color: rgb(179, 79, 179);
/* oklch */ color: oklch(59.2% 0.178 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc86ca',
    500: '#b34fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b34fb3;
$custom-light: #cc86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fb3",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.17828,
    "h": 327.5
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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