#B34BC2#B34BC2

#B34BC2 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.198 H 322.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B34BC2
RGBrgb(179, 75, 194)
HSLhsl(292, 49%, 53%)
HSVhsv(292, 61%, 76%)
CMYKcmyk(7.7%, 61.3%, 0%, 23.9%)
CIE-LABlab(50.11, 58.63, -43.32)
CIE-LCHlch(50.11, 72.89, 323.54°)
OKLaboklab(59.5% 0.1567 -0.1204)
OKLCHoklch(59.5% 0.198 322.4)
XYZxyz(30.8431, 18.5125, 52.9771)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BC2 #5AC24B
analogous
#774BC2 #B34BC2 #C24B95
triadic
#B34BC2 #C2B34B #4BC2B3
tetradic
#B34BC2 #C2774B #5AC24B #4B95C2
square
#B34BC2 #C2774B #5AC24B #4B95C2
split-complementary
#B34BC2 #95C24B #4BC277
monochromatic
#64256D #8E359B #B34BC2 #C679D1 #DAA6E1

Accessibility & contrast

On white

4.47
#B34BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B34BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BC2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BC2#FFFFFF#000000##000000
##B34BC21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#326FC6
Deuteranopia (green-blind)
#5A7BBF
Tritanopia (blue-blind)
#B55D80
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34bc2;
/* rgb */ color: rgb(179, 75, 194);
/* oklch */ color: oklch(59.5% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#cd84d5',
    500: '#b34bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b34bc2;
$custom-light: #cd84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bc2",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 292.437,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.1976,
    "h": 322.4
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#B34BC2
secondary
#A1CE9B
accent
#D94F60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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