#B34CB8#B34CB8

#B34CB8 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.187 H 325.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B34CB8
RGBrgb(179, 76, 184)
HSLhsl(297, 43%, 51%)
HSVhsv(297, 59%, 72%)
CMYKcmyk(2.7%, 58.7%, 0%, 27.8%)
CIE-LABlab(49.76, 56.34, -38.08)
CIE-LCHlch(49.76, 68.00, 325.95°)
OKLaboklab(59.07% 0.1548 -0.1053)
OKLCHoklch(59.07% 0.187 325.8)
XYZxyz(29.8260, 18.2150, 47.2830)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CB8 #51B84C
analogous
#7D4CB8 #B34CB8 #B84C87
triadic
#B34CB8 #B8B34C #4CB8B3
tetradic
#B34CB8 #B87D4C #51B84C #4C87B8
square
#B34CB8 #B87D4C #51B84C #4C87B8
split-complementary
#B34CB8 #87B84C #4CB87D
monochromatic
#602763 #8A388E #B34CB8 #C678C9 #D8A4DB

Accessibility & contrast

On white

4.52
#B34CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B34CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CB8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CB8#FFFFFF#000000##000000
##B34CB81.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#B75A7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34cb8;
/* rgb */ color: rgb(179, 76, 184);
/* oklch */ color: oklch(59.1% 0.187 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc84ce',
    500: '#b34cb8',
    950: '#000000',
  },
}
SCSS
$custom: #b34cb8;
$custom-light: #cc84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cb8",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 297.222,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.18719,
    "h": 325.8
  },
  "luminance": 0.18213
}

Semantic roles & 50–950 ramp

primary
#B34CB8
secondary
#9AC898
accent
#D3555B
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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