#B34FB5#B34FB5

#B34FB5 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.180 H 326.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B34FB5
RGBrgb(179, 79, 181)
HSLhsl(299, 41%, 51%)
HSVhsv(299, 56%, 71%)
CMYKcmyk(1.1%, 56.4%, 0%, 29%)
CIE-LABlab(50.11, 54.42, -35.77)
CIE-LCHlch(50.11, 65.13, 326.68°)
OKLaboklab(59.28% 0.1507 -0.0986)
OKLCHoklch(59.28% 0.18 326.8)
XYZxyz(29.7263, 18.5136, 45.7148)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FB5 #51B54F
analogous
#804FB5 #B34FB5 #B54F84
triadic
#B34FB5 #B5B34F #4FB5B3
tetradic
#B34FB5 #B5804F #51B54F #4F84B5
square
#B34FB5 #B5804F #51B54F #4F84B5
split-complementary
#B34FB5 #84B54F #4FB580
monochromatic
#602961 #8A3B8C #B34FB5 #C67AC7 #D8A5D9

Accessibility & contrast

On white

4.47
#B34FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B34FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FB5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FB5#FFFFFF#000000##000000
##B34FB51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#B85B7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34fb5;
/* rgb */ color: rgb(179, 79, 181);
/* oklch */ color: oklch(59.3% 0.180 326.8);
Tailwind
colors: {
  custom: {
    50: '#cc86cb',
    500: '#b34fb5',
    950: '#000000',
  },
}
SCSS
$custom: #b34fb5;
$custom-light: #cc86cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fb5",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 298.824,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.18005,
    "h": 326.8
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#B34FB5
secondary
#9AC699
accent
#D1575A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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