#B34CB3#B34CB3

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

Color values

HEX#B34CB3
RGBrgb(179, 76, 179)
HSLhsl(300, 40%, 50%)
HSVhsv(300, 58%, 70%)
CMYKcmyk(0%, 57.5%, 0%, 29.8%)
CIE-LABlab(49.51, 55.45, -35.56)
CIE-LCHlch(49.51, 65.87, 327.33°)
OKLaboklab(58.81% 0.1543 -0.098)
OKLCHoklch(58.81% 0.183 327.6)
XYZxyz(29.3111, 18.0091, 44.5713)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CB3 #4CB34C
analogous
#7F4CB3 #B34CB3 #B34C80
triadic
#B34CB3 #B3B34C #4CB3B3
tetradic
#B34CB3 #B3804C #4CB34C #4C7FB3
square
#B34CB3 #B3804C #4CB34C #4C7FB3
split-complementary
#B34CB3 #80B34C #4CB380
monochromatic
#5D285D #883A88 #B34CB3 #C577C5 #D7A2D7

Accessibility & contrast

On white

4.56
#B34CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B34CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CB3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CB3#FFFFFF#000000##000000
##B34CB31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#637AB0
Tritanopia (blue-blind)
#B85878
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34cb3;
/* rgb */ color: rgb(179, 76, 179);
/* oklch */ color: oklch(58.8% 0.183 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc84ca',
    500: '#b34cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b34cb3;
$custom-light: #cc84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cb3",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.18279,
    "h": 327.6
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#B34CB3
secondary
#96C496
accent
#D05858
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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