#B34FBC#B34FBC

#B34FBC is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.186 H 324.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B34FBC
RGBrgb(179, 79, 188)
HSLhsl(295, 45%, 52%)
HSVhsv(295, 58%, 74%)
CMYKcmyk(4.8%, 58%, 0%, 26.3%)
CIE-LABlab(50.46, 55.70, -39.29)
CIE-LCHlch(50.46, 68.16, 324.80°)
OKLaboklab(59.65% 0.1513 -0.1088)
OKLCHoklch(59.65% 0.186 324.3)
XYZxyz(30.4627, 18.8082, 49.5930)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FBC #58BC4F
analogous
#7D4FBC #B34FBC #BC4F8E
triadic
#B34FBC #BCB34F #4FBCB3
tetradic
#B34FBC #BC7D4F #58BC4F #4F8EBC
square
#B34FBC #BC7D4F #58BC4F #4F8EBC
split-complementary
#B34FBC #8EBC4F #4FBC7D
monochromatic
#632869 #8D3995 #B34FBC #C67BCD #D9A8DE

Accessibility & contrast

On white

4.41
#B34FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B34FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FBC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FBC#FFFFFF#000000##000000
##B34FBC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#B65E7E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34fbc;
/* rgb */ color: rgb(179, 79, 188);
/* oklch */ color: oklch(59.7% 0.186 324.3);
Tailwind
colors: {
  custom: {
    50: '#cc86d0',
    500: '#b34fbc',
    950: '#000000',
  },
}
SCSS
$custom: #b34fbc;
$custom-light: #cc86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fbc",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 295.046,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.18635,
    "h": 324.3
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#B34FBC
secondary
#A0CB9C
accent
#D5535E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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