#B34BB5#B34BB5

#B34BB5 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.186 H 326.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B34BB5
RGBrgb(179, 75, 181)
HSLhsl(299, 42%, 50%)
HSVhsv(299, 59%, 71%)
CMYKcmyk(1.1%, 58.6%, 0%, 29%)
CIE-LABlab(49.44, 56.26, -36.83)
CIE-LCHlch(49.44, 67.24, 326.79°)
OKLaboklab(58.79% 0.1558 -0.1016)
OKLCHoklch(58.79% 0.186 326.9)
XYZxyz(29.4465, 17.9539, 45.6215)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BB5 #4DB54B
analogous
#7E4BB5 #B34BB5 #B54B82
triadic
#B34BB5 #B5B34B #4BB5B3
tetradic
#B34BB5 #B57E4B #4DB54B #4B82B5
square
#B34BB5 #B57E4B #4DB54B #4B82B5
split-complementary
#B34BB5 #82B54B #4BB57E
monochromatic
#5E275F #89398A #B34BB5 #C576C7 #D8A2D9

Accessibility & contrast

On white

4.57
#B34BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B34BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BB5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BB5#FFFFFF#000000##000000
##B34BB51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#B85879
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34bb5;
/* rgb */ color: rgb(179, 75, 181);
/* oklch */ color: oklch(58.8% 0.186 326.9);
Tailwind
colors: {
  custom: {
    50: '#cc83cb',
    500: '#b34bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b34bb5;
$custom-light: #cc83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bb5",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 298.868,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.18601,
    "h": 326.9
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#B34BB5
secondary
#97C696
accent
#D25659
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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