#B34FE2#B34FE2

#B34FE2 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.222 H 313.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B34FE2
RGBrgb(179, 79, 226)
HSLhsl(281, 72%, 60%)
HSVhsv(281, 65%, 89%)
CMYKcmyk(20.8%, 65%, 0%, 11.4%)
CIE-LABlab(52.58, 63.14, -57.65)
CIE-LCHlch(52.58, 85.50, 317.60°)
OKLaboklab(61.87% 0.1518 -0.1623)
OKLCHoklch(61.87% 0.222 313.1)
XYZxyz(35.1115, 20.6677, 74.0764)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FE2 #7EE24F
analogous
#694FE2 #B34FE2 #E24FC8
triadic
#B34FE2 #E2B34F #4FE2B3
tetradic
#B34FE2 #E2694F #7EE24F #4FC8E2
square
#B34FE2 #E2694F #7EE24F #4FC8E2
split-complementary
#B34FE2 #C8E24F #4FE269
monochromatic
#731A9D #9922D1 #B34FE2 #CA84EB #E0B8F3

Accessibility & contrast

On white

4.09
#B34FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B34FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FE2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FE2#FFFFFF#000000##000000
##B34FE21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#4580DF
Tritanopia (blue-blind)
#AE6C92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34fe2;
/* rgb */ color: rgb(179, 79, 226);
/* oklch */ color: oklch(61.9% 0.222 313.1);
Tailwind
colors: {
  custom: {
    50: '#ce87ec',
    500: '#b34fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b34fe2;
$custom-light: #ce87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fe2",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 280.816,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.22223,
    "h": 313.1
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#B34FE2
secondary
#BCE3AA
accent
#EE3973
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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