#B34CBA#B34CBA

#B34CBA is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.189 H 325.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B34CBA
RGBrgb(179, 76, 186)
HSLhsl(296, 44%, 51%)
HSVhsv(296, 59%, 73%)
CMYKcmyk(3.8%, 59.1%, 0%, 27.1%)
CIE-LABlab(49.86, 56.70, -39.08)
CIE-LCHlch(49.86, 68.87, 325.42°)
OKLaboklab(59.18% 0.155 -0.1082)
OKLCHoklch(59.18% 0.189 325.1)
XYZxyz(30.0371, 18.2995, 48.3949)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CBA #53BA4C
analogous
#7C4CBA #B34CBA #BA4C8A
triadic
#B34CBA #BAB34C #4CBAB3
tetradic
#B34CBA #BA7C4C #53BA4C #4C8ABA
square
#B34CBA #BA7C4C #53BA4C #4C8ABA
split-complementary
#B34CBA #8ABA4C #4CBA7C
monochromatic
#612765 #8B3891 #B34CBA #C678CB #D9A4DC

Accessibility & contrast

On white

4.51
#B34CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B34CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CBA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CBA#FFFFFF#000000##000000
##B34CBA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#B75B7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34cba;
/* rgb */ color: rgb(179, 76, 186);
/* oklch */ color: oklch(59.2% 0.189 325.1);
Tailwind
colors: {
  custom: {
    50: '#cc84cf',
    500: '#b34cba',
    950: '#000000',
  },
}
SCSS
$custom: #b34cba;
$custom-light: #cc84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cba",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 296.182,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.18897,
    "h": 325.1
  },
  "luminance": 0.18298
}

Semantic roles & 50–950 ramp

primary
#B34CBA
secondary
#9CC999
accent
#D4545C
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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