#B34FB1#B34FB1

#B34FB1 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.177 H 328.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B34FB1
RGBrgb(179, 79, 177)
HSLhsl(301, 40%, 51%)
HSVhsv(301, 56%, 70%)
CMYKcmyk(0%, 55.9%, 1.1%, 29.8%)
CIE-LABlab(49.92, 53.71, -33.74)
CIE-LCHlch(49.92, 63.43, 327.86°)
OKLaboklab(59.08% 0.1502 -0.0928)
OKLCHoklch(59.08% 0.177 328.3)
XYZxyz(29.3218, 18.3518, 43.5843)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FB1 #4FB351
analogous
#834FB3 #B34FB1 #B34F7F
triadic
#B34FB1 #B1B34F #4FB1B3
tetradic
#B34FB1 #B3834F #4FB351 #4F7FB3
square
#B34FB1 #B3834F #4FB351 #4F7FB3
split-complementary
#B34FB1 #7FB34F #4FB383
monochromatic
#5F295E #893B88 #B34FB1 #C57AC4 #D8A4D7

Accessibility & contrast

On white

4.50
#B34FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B34FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FB1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FB1#FFFFFF#000000##000000
##B34FB11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#466EB4
Deuteranopia (green-blind)
#667BAE
Tritanopia (blue-blind)
#B85A79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34fb1;
/* rgb */ color: rgb(179, 79, 177);
/* oklch */ color: oklch(59.1% 0.177 328.3);
Tailwind
colors: {
  custom: {
    50: '#cc86c8',
    500: '#b34fb1',
    950: '#000000',
  },
}
SCSS
$custom: #b34fb1;
$custom-light: #cc86c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fb1",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 301.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59077,
    "c": 0.17652,
    "h": 328.3
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#B34FB1
secondary
#99C59A
accent
#D05B58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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