#B34FB7#B34FB7

#B34FB7 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.182 H 326.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B34FB7
RGBrgb(179, 79, 183)
HSLhsl(298, 42%, 51%)
HSVhsv(298, 57%, 72%)
CMYKcmyk(2.2%, 56.8%, 0%, 28.2%)
CIE-LABlab(50.21, 54.78, -36.78)
CIE-LCHlch(50.21, 65.99, 326.12°)
OKLaboklab(59.39% 0.1509 -0.1015)
OKLCHoklch(59.39% 0.182 326.1)
XYZxyz(29.9330, 18.5963, 46.8034)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FB7 #53B74F
analogous
#7F4FB7 #B34FB7 #B74F87
triadic
#B34FB7 #B7B34F #4FB7B3
tetradic
#B34FB7 #B77F4F #53B74F #4F87B7
square
#B34FB7 #B77F4F #53B74F #4F87B7
split-complementary
#B34FB7 #87B74F #4FB77F
monochromatic
#612963 #8B3A8F #B34FB7 #C67AC9 #D9A6DB

Accessibility & contrast

On white

4.45
#B34FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B34FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FB7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FB7#FFFFFF#000000##000000
##B34FB71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#426FBA
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#B75C7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34fb7;
/* rgb */ color: rgb(179, 79, 183);
/* oklch */ color: oklch(59.4% 0.182 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc86cd',
    500: '#b34fb7',
    950: '#000000',
  },
}
SCSS
$custom: #b34fb7;
$custom-light: #cc86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fb7",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 297.692,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.18184,
    "h": 326.1
  },
  "luminance": 0.18595
}

Semantic roles & 50–950 ramp

primary
#B34FB7
secondary
#9CC89A
accent
#D2565B
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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