#B34FC2#B34FC2

#B34FC2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.192 H 322.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B34FC2
RGBrgb(179, 79, 194)
HSLhsl(292, 49%, 54%)
HSVhsv(292, 59%, 76%)
CMYKcmyk(7.7%, 59.3%, 0%, 23.9%)
CIE-LABlab(50.77, 56.82, -42.27)
CIE-LCHlch(50.77, 70.82, 323.35°)
OKLaboklab(59.98% 0.1517 -0.1174)
OKLCHoklch(59.98% 0.192 322.3)
XYZxyz(31.1230, 19.0723, 53.0704)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FC2 #5EC24F
analogous
#794FC2 #B34FC2 #C24F97
triadic
#B34FC2 #C2B34F #4FC2B3
tetradic
#B34FC2 #C2794F #5EC24F #4F97C2
square
#B34FC2 #C2794F #5EC24F #4F97C2
split-complementary
#B34FC2 #97C24F #4FC279
monochromatic
#662770 #90379D #B34FC2 #C77CD2 #DAAAE2

Accessibility & contrast

On white

4.36
#B34FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B34FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FC2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FC2#FFFFFF#000000##000000
##B34FC21.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#B56081
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34fc2;
/* rgb */ color: rgb(179, 79, 194);
/* oklch */ color: oklch(60.0% 0.192 322.3);
Tailwind
colors: {
  custom: {
    50: '#cd86d5',
    500: '#b34fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b34fc2;
$custom-light: #cd86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fc2",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 292.174,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59976,
    "c": 0.19186,
    "h": 322.3
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#B34FC2
secondary
#A4CF9E
accent
#D85061
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B34FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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