#B34EC8#B34EC8

#B34EC8 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.199 H 320.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B34EC8
RGBrgb(179, 78, 200)
HSLhsl(290, 53%, 55%)
HSVhsv(290, 61%, 78%)
CMYKcmyk(10.5%, 61%, 0%, 21.6%)
CIE-LABlab(50.93, 58.42, -45.49)
CIE-LCHlch(50.93, 74.04, 322.09°)
OKLaboklab(60.19% 0.1532 -0.1268)
OKLCHoklch(60.19% 0.199 320.4)
XYZxyz(31.7389, 19.2041, 56.6673)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EC8 #63C84E
analogous
#764EC8 #B34EC8 #C84EA0
triadic
#B34EC8 #C8B34E #4EC8B3
tetradic
#B34EC8 #C8764E #63C84E #4EA0C8
square
#B34EC8 #C8764E #63C84E #4EA0C8
split-complementary
#B34EC8 #A0C84E #4EC876
monochromatic
#692577 #9233A5 #B34EC8 #C77DD7 #DBABE5

Accessibility & contrast

On white

4.34
#B34EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B34EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EC8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EC8#FFFFFF#000000##000000
##B34EC81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3172CC
Deuteranopia (green-blind)
#597DC5
Tritanopia (blue-blind)
#B46184
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34ec8;
/* rgb */ color: rgb(179, 78, 200);
/* oklch */ color: oklch(60.2% 0.199 320.4);
Tailwind
colors: {
  custom: {
    50: '#cd86d9',
    500: '#b34ec8',
    950: '#000000',
  },
}
SCSS
$custom: #b34ec8;
$custom-light: #cd86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ec8",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 289.672,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.19887,
    "h": 320.4
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#B34EC8
secondary
#A8D39F
accent
#DC4C65
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B34EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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