#B34FBA#B34FBA

#B34FBA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.185 H 325.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B34FBA
RGBrgb(179, 79, 186)
HSLhsl(296, 44%, 52%)
HSVhsv(296, 58%, 73%)
CMYKcmyk(3.8%, 57.5%, 0%, 27.1%)
CIE-LABlab(50.36, 55.33, -38.29)
CIE-LCHlch(50.36, 67.29, 325.32°)
OKLaboklab(59.54% 0.1511 -0.1059)
OKLCHoklch(59.54% 0.185 325)
XYZxyz(30.2486, 18.7225, 48.4654)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FBA #56BA4F
analogous
#7E4FBA #B34FBA #BA4F8C
triadic
#B34FBA #BAB34F #4FBAB3
tetradic
#B34FBA #BA7E4F #56BA4F #4F8CBA
square
#B34FBA #BA7E4F #56BA4F #4F8CBA
split-complementary
#B34FBA #8CBA4F #4FBA7E
monochromatic
#622866 #8D3992 #B34FBA #C67BCB #D9A7DC

Accessibility & contrast

On white

4.43
#B34FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B34FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FBA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FBA#FFFFFF#000000##000000
##B34FBA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#627CB7
Tritanopia (blue-blind)
#B75D7D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34fba;
/* rgb */ color: rgb(179, 79, 186);
/* oklch */ color: oklch(59.5% 0.185 325.0);
Tailwind
colors: {
  custom: {
    50: '#cc86cf',
    500: '#b34fba',
    950: '#000000',
  },
}
SCSS
$custom: #b34fba;
$custom-light: #cc86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fba",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 296.075,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.18454,
    "h": 325
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#B34FBA
secondary
#9ECA9B
accent
#D3545D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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