#B34EC2#B34EC2

#B34EC2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 322.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B34EC2
RGBrgb(179, 78, 194)
HSLhsl(292, 49%, 53%)
HSVhsv(292, 60%, 76%)
CMYKcmyk(7.7%, 59.8%, 0%, 23.9%)
CIE-LABlab(50.60, 57.28, -42.54)
CIE-LCHlch(50.60, 71.35, 323.40°)
OKLaboklab(59.86% 0.153 -0.1182)
OKLCHoklch(59.86% 0.193 322.3)
XYZxyz(31.0514, 18.9291, 53.0466)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EC2 #5DC24E
analogous
#794EC2 #B34EC2 #C24E97
triadic
#B34EC2 #C2B34E #4EC2B3
tetradic
#B34EC2 #C2794E #5DC24E #4E97C2
square
#B34EC2 #C2794E #5DC24E #4E97C2
split-complementary
#B34EC2 #97C24E #4EC279
monochromatic
#66266F #8F369D #B34EC2 #C77CD2 #DAA9E1

Accessibility & contrast

On white

4.39
#B34EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B34EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EC2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EC2#FFFFFF#000000##000000
##B34EC21.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#B55F81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34ec2;
/* rgb */ color: rgb(179, 78, 194);
/* oklch */ color: oklch(59.9% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#cd85d5',
    500: '#b34ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ec2;
$custom-light: #cd85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ec2",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 292.241,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59855,
    "c": 0.19331,
    "h": 322.3
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

primary
#B34EC2
secondary
#A3CF9D
accent
#D85061
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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