#B34FAC#B34FAC

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

Color values

HEX#B34FAC
RGBrgb(179, 79, 172)
HSLhsl(304, 40%, 51%)
HSVhsv(304, 56%, 70%)
CMYKcmyk(0%, 55.9%, 3.9%, 29.8%)
CIE-LABlab(49.68, 52.83, -31.18)
CIE-LCHlch(49.68, 61.35, 329.45°)
OKLaboklab(58.83% 0.1495 -0.0854)
OKLCHoklch(58.83% 0.172 330.3)
XYZxyz(28.8326, 18.1561, 41.0076)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FAC #4FB356
analogous
#884FB3 #B34FAC #B34F7A
triadic
#B34FAC #ACB34F #4FACB3
tetradic
#B34FAC #B3884F #4FB356 #4F7AB3
square
#B34FAC #B3884F #4FB356 #4F7AB3
split-complementary
#B34FAC #7AB34F #4FB388
monochromatic
#5F295B #893B84 #B34FAC #C57AC0 #D8A4D4

Accessibility & contrast

On white

4.53
#B34FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B34FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FAC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FAC#FFFFFF#000000##000000
##B34FAC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#496DAF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#B95876
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34fac;
/* rgb */ color: rgb(179, 79, 172);
/* oklch */ color: oklch(58.8% 0.172 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc85c5',
    500: '#b34fac',
    950: '#000000',
  },
}
SCSS
$custom: #b34fac;
$custom-light: #cc85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fac",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 304.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.1722,
    "h": 330.3
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#B34FAC
secondary
#99C59C
accent
#D06158
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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