#B34BB8#B34BB8

#B34BB8 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.189 H 325.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B34BB8
RGBrgb(179, 75, 184)
HSLhsl(297, 43%, 51%)
HSVhsv(297, 59%, 72%)
CMYKcmyk(2.7%, 59.2%, 0%, 27.8%)
CIE-LABlab(49.59, 56.79, -38.34)
CIE-LCHlch(49.59, 68.52, 325.98°)
OKLaboklab(58.95% 0.1561 -0.106)
OKLCHoklch(58.95% 0.189 325.8)
XYZxyz(29.7576, 18.0783, 47.2602)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BB8 #50B84B
analogous
#7C4BB8 #B34BB8 #B84B86
triadic
#B34BB8 #B8B34B #4BB8B3
tetradic
#B34BB8 #B87C4B #50B84B #4B86B8
square
#B34BB8 #B87C4B #50B84B #4B86B8
split-complementary
#B34BB8 #86B84B #4BB87C
monochromatic
#5F2762 #8A388E #B34BB8 #C677C9 #D8A3DB

Accessibility & contrast

On white

4.55
#B34BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B34BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BB8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BB8#FFFFFF#000000##000000
##B34BB81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#607AB5
Tritanopia (blue-blind)
#B7597B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34bb8;
/* rgb */ color: rgb(179, 75, 184);
/* oklch */ color: oklch(58.9% 0.189 325.8);
Tailwind
colors: {
  custom: {
    50: '#cd83ce',
    500: '#b34bb8',
    950: '#000000',
  },
}
SCSS
$custom: #b34bb8;
$custom-light: #cd83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bb8",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 297.248,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.18865,
    "h": 325.8
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#B34BB8
secondary
#99C897
accent
#D3555A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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