#B34EC1#B34EC1

#B34EC1 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.192 H 322.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B34EC1
RGBrgb(179, 78, 193)
HSLhsl(293, 48%, 53%)
HSVhsv(293, 60%, 76%)
CMYKcmyk(7.3%, 59.6%, 0%, 24.3%)
CIE-LABlab(50.55, 57.09, -42.04)
CIE-LCHlch(50.55, 70.90, 323.63°)
OKLaboklab(59.8% 0.1529 -0.1167)
OKLCHoklch(59.8% 0.192 322.6)
XYZxyz(30.9395, 18.8843, 52.4571)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EC1 #5CC14E
analogous
#794EC1 #B34EC1 #C14E95
triadic
#B34EC1 #C1B34E #4EC1B3
tetradic
#B34EC1 #C1794E #5CC14E #4E95C1
square
#B34EC1 #C1794E #5CC14E #4E95C1
split-complementary
#B34EC1 #95C14E #4EC179
monochromatic
#65276E #8F369B #B34EC1 #C67BD1 #DAA9E1

Accessibility & contrast

On white

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

On black

4.78
#B34EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EC1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EC1#FFFFFF#000000##000000
##B34EC11.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#B55F80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34ec1;
/* rgb */ color: rgb(179, 78, 193);
/* oklch */ color: oklch(59.8% 0.192 322.6);
Tailwind
colors: {
  custom: {
    50: '#cd85d4',
    500: '#b34ec1',
    950: '#000000',
  },
}
SCSS
$custom: #b34ec1;
$custom-light: #cd85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ec1",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 292.696,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.19239,
    "h": 322.6
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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