#B34EC3#B34EC3

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

Color values

HEX#B34EC3
RGBrgb(179, 78, 195)
HSLhsl(292, 49%, 54%)
HSVhsv(292, 60%, 76%)
CMYKcmyk(8.2%, 60%, 0%, 23.5%)
CIE-LABlab(50.66, 57.47, -43.03)
CIE-LCHlch(50.66, 71.79, 323.17°)
OKLaboklab(59.91% 0.153 -0.1196)
OKLCHoklch(59.91% 0.194 322)
XYZxyz(31.1641, 18.9742, 53.6400)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EC3 #5EC34E
analogous
#784EC3 #B34EC3 #C34E98
triadic
#B34EC3 #C3B34E #4EC3B3
tetradic
#B34EC3 #C3784E #5EC34E #4E98C3
square
#B34EC3 #C3784E #5EC34E #4E98C3
split-complementary
#B34EC3 #98C34E #4EC378
monochromatic
#662670 #90369E #B34EC3 #C77CD2 #DAA9E2

Accessibility & contrast

On white

4.38
#B34EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34EC3#FFFFFF#000000##000000
##B34EC31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3671C7
Deuteranopia (green-blind)
#5C7DC0
Tritanopia (blue-blind)
#B56081
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34ec3;
/* rgb */ color: rgb(179, 78, 195);
/* oklch */ color: oklch(59.9% 0.194 322.0);
Tailwind
colors: {
  custom: {
    50: '#cd85d5',
    500: '#b34ec3',
    950: '#000000',
  },
}
SCSS
$custom: #b34ec3;
$custom-light: #cd85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ec3",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 291.795,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.19423,
    "h": 322
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#B34EC3
secondary
#A4CF9D
accent
#D94F62
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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