#B34CC4#B34CC4

#B34CC4 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.7% C 0.198 H 321.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B34CC4
RGBrgb(179, 76, 196)
HSLhsl(292, 50%, 53%)
HSVhsv(292, 61%, 77%)
CMYKcmyk(8.7%, 61.2%, 0%, 23.1%)
CIE-LABlab(50.38, 58.56, -44.05)
CIE-LCHlch(50.38, 73.27, 323.05°)
OKLaboklab(59.73% 0.1555 -0.1226)
OKLCHoklch(59.73% 0.198 321.8)
XYZxyz(31.1376, 18.7397, 54.1908)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CC4 #5DC44C
analogous
#774CC4 #B34CC4 #C44C99
triadic
#B34CC4 #C4B34C #4CC4B3
tetradic
#B34CC4 #C4774C #5DC44C #4C99C4
square
#B34CC4 #C4774C #5DC44C #4C99C4
split-complementary
#B34CC4 #99C44C #4CC477
monochromatic
#662571 #8F349F #B34CC4 #C77AD3 #DAA8E2

Accessibility & contrast

On white

4.42
#B34CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B34CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CC4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CC4#FFFFFF#000000##000000
##B34CC41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C8
Deuteranopia (green-blind)
#5A7CC1
Tritanopia (blue-blind)
#B55F81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34cc4;
/* rgb */ color: rgb(179, 76, 196);
/* oklch */ color: oklch(59.7% 0.198 321.8);
Tailwind
colors: {
  custom: {
    50: '#cd84d6',
    500: '#b34cc4',
    950: '#000000',
  },
}
SCSS
$custom: #b34cc4;
$custom-light: #cd84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cc4",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 291.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.198,
    "h": 321.8
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#B34CC4
secondary
#A3D09C
accent
#DA4E62
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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