#B34FC4#B34FC4

#B34FC4 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.194 H 321.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B34FC4
RGBrgb(179, 79, 196)
HSLhsl(291, 50%, 54%)
HSVhsv(291, 60%, 77%)
CMYKcmyk(8.7%, 59.7%, 0%, 23.1%)
CIE-LABlab(50.88, 57.20, -43.26)
CIE-LCHlch(50.88, 71.71, 322.90°)
OKLaboklab(60.09% 0.1518 -0.1203)
OKLCHoklch(60.09% 0.194 321.6)
XYZxyz(31.3491, 19.1627, 54.2613)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FC4 #60C44F
analogous
#794FC4 #B34FC4 #C44F9B
triadic
#B34FC4 #C4B34F #4FC4B3
tetradic
#B34FC4 #C4794F #60C44F #4F9BC4
square
#B34FC4 #C4794F #60C44F #4F9BC4
split-complementary
#B34FC4 #9BC44F #4FC479
monochromatic
#672672 #9136A0 #B34FC4 #C77DD3 #DBABE3

Accessibility & contrast

On white

4.35
#B34FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B34FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FC4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FC4#FFFFFF#000000##000000
##B34FC41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3772C8
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#B56182
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34fc4;
/* rgb */ color: rgb(179, 79, 196);
/* oklch */ color: oklch(60.1% 0.194 321.6);
Tailwind
colors: {
  custom: {
    50: '#cd86d6',
    500: '#b34fc4',
    950: '#000000',
  },
}
SCSS
$custom: #b34fc4;
$custom-light: #cd86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fc4",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 291.282,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.19371,
    "h": 321.6
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#B34FC4
secondary
#A6D09E
accent
#D94E63
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B34FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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