#B34EE1#B34EE1

#B34EE1 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.223 H 313.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B34EE1
RGBrgb(179, 78, 225)
HSLhsl(281, 71%, 59%)
HSVhsv(281, 65%, 88%)
CMYKcmyk(20.4%, 65.3%, 0%, 11.8%)
CIE-LABlab(52.36, 63.38, -57.44)
CIE-LCHlch(52.36, 85.53, 317.81°)
OKLaboklab(61.7% 0.1529 -0.1617)
OKLCHoklch(61.7% 0.223 313.4)
XYZxyz(34.9031, 20.4698, 73.3320)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EE1 #7CE14E
analogous
#694EE1 #B34EE1 #E14EC6
triadic
#B34EE1 #E1B34E #4EE1B3
tetradic
#B34EE1 #E1694E #7CE14E #4EC6E1
square
#B34EE1 #E1694E #7CE14E #4EC6E1
split-complementary
#B34EE1 #C6E14E #4EE169
monochromatic
#721A9A #9923CF #B34EE1 #C982EA #E0B7F3

Accessibility & contrast

On white

4.12
#B34EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B34EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EE1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EE1#FFFFFF#000000##000000
##B34EE11.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#457FDE
Tritanopia (blue-blind)
#AE6B91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34ee1;
/* rgb */ color: rgb(179, 78, 225);
/* oklch */ color: oklch(61.7% 0.223 313.4);
Tailwind
colors: {
  custom: {
    50: '#ce86eb',
    500: '#b34ee1',
    950: '#000000',
  },
}
SCSS
$custom: #b34ee1;
$custom-light: #ce86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ee1",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 281.224,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.22256,
    "h": 313.4
  },
  "luminance": 0.20469
}

Semantic roles & 50–950 ramp

primary
#B34EE1
secondary
#BBE2A9
accent
#EE3A72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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