#B34EBC#B34EBC

#B34EBC is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.188 H 324.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B34EBC
RGBrgb(179, 78, 188)
HSLhsl(295, 45%, 52%)
HSVhsv(295, 59%, 74%)
CMYKcmyk(4.8%, 58.5%, 0%, 26.3%)
CIE-LABlab(50.29, 56.16, -39.56)
CIE-LCHlch(50.29, 68.69, 324.84°)
OKLaboklab(59.53% 0.1526 -0.1095)
OKLCHoklch(59.53% 0.188 324.3)
XYZxyz(30.3911, 18.6650, 49.5691)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EBC #57BC4E
analogous
#7C4EBC #B34EBC #BC4E8E
triadic
#B34EBC #BCB34E #4EBCB3
tetradic
#B34EBC #BC7C4E #57BC4E #4E8EBC
square
#B34EBC #BC7C4E #57BC4E #4E8EBC
split-complementary
#B34EBC #8EBC4E #4EBC7C
monochromatic
#632768 #8D3895 #B34EBC #C67ACD #D9A7DE

Accessibility & contrast

On white

4.44
#B34EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B34EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EBC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EBC#FFFFFF#000000##000000
##B34EBC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#B65D7E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34ebc;
/* rgb */ color: rgb(179, 78, 188);
/* oklch */ color: oklch(59.5% 0.188 324.3);
Tailwind
colors: {
  custom: {
    50: '#cc85d0',
    500: '#b34ebc',
    950: '#000000',
  },
}
SCSS
$custom: #b34ebc;
$custom-light: #cc85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ebc",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 295.091,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.18783,
    "h": 324.3
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#B34EBC
secondary
#9FCB9B
accent
#D5535E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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