#B34FB9#B34FB9

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

Color values

HEX#B34FB9
RGBrgb(179, 79, 185)
HSLhsl(297, 43%, 52%)
HSVhsv(297, 57%, 73%)
CMYKcmyk(3.2%, 57.3%, 0%, 27.5%)
CIE-LABlab(50.31, 55.15, -37.79)
CIE-LCHlch(50.31, 66.85, 325.58°)
OKLaboklab(59.49% 0.1511 -0.1044)
OKLCHoklch(59.49% 0.184 325.3)
XYZxyz(30.1427, 18.6802, 47.9075)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FB9 #55B94F
analogous
#7E4FB9 #B34FB9 #B94F8A
triadic
#B34FB9 #B9B34F #4FB9B3
tetradic
#B34FB9 #B97E4F #55B94F #4F8AB9
square
#B34FB9 #B97E4F #55B94F #4F8AB9
split-complementary
#B34FB9 #8AB94F #4FB97E
monochromatic
#622865 #8C3A91 #B34FB9 #C67BCA #D9A7DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34FB9#FFFFFF#000000##000000
##B34FB91.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)
#4070BC
Deuteranopia (green-blind)
#627CB6
Tritanopia (blue-blind)
#B75D7D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34fb9;
/* rgb */ color: rgb(179, 79, 185);
/* oklch */ color: oklch(59.5% 0.184 325.3);
Tailwind
colors: {
  custom: {
    50: '#cc86ce',
    500: '#b34fb9',
    950: '#000000',
  },
}
SCSS
$custom: #b34fb9;
$custom-light: #cc86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fb9",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 296.604,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.18363,
    "h": 325.3
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#B34FB9
secondary
#9DC99B
accent
#D3555C
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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