#B34EC0#B34EC0

#B34EC0 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.191 H 323.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B34EC0
RGBrgb(179, 78, 192)
HSLhsl(293, 48%, 53%)
HSVhsv(293, 59%, 75%)
CMYKcmyk(6.8%, 59.4%, 0%, 24.7%)
CIE-LABlab(50.50, 56.90, -41.55)
CIE-LCHlch(50.50, 70.46, 323.86°)
OKLaboklab(59.74% 0.1529 -0.1153)
OKLCHoklch(59.74% 0.191 323)
XYZxyz(30.8283, 18.8399, 51.8716)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EC0 #5BC04E
analogous
#7A4EC0 #B34EC0 #C04E94
triadic
#B34EC0 #C0B34E #4EC0B3
tetradic
#B34EC0 #C07A4E #5BC04E #4E94C0
square
#B34EC0 #C07A4E #5BC04E #4E94C0
split-complementary
#B34EC0 #94C04E #4EC07A
monochromatic
#65276D #8F379A #B34EC0 #C67BD0 #DAA8E0

Accessibility & contrast

On white

4.40
#B34EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B34EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EC0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EC0#FFFFFF#000000##000000
##B34EC01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C4
Deuteranopia (green-blind)
#5E7CBD
Tritanopia (blue-blind)
#B65F80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34ec0;
/* rgb */ color: rgb(179, 78, 192);
/* oklch */ color: oklch(59.7% 0.191 323.0);
Tailwind
colors: {
  custom: {
    50: '#cd85d3',
    500: '#b34ec0',
    950: '#000000',
  },
}
SCSS
$custom: #b34ec0;
$custom-light: #cd85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ec0",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 293.158,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.19147,
    "h": 323
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#B34EC0
secondary
#A2CE9C
accent
#D75160
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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