#B34BC7#B34BC7

#B34BC7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.202 H 320.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B34BC7
RGBrgb(179, 75, 199)
HSLhsl(290, 53%, 54%)
HSVhsv(290, 62%, 78%)
CMYKcmyk(10.1%, 62.3%, 0%, 22%)
CIE-LABlab(50.38, 59.57, -45.77)
CIE-LCHlch(50.38, 75.12, 322.46°)
OKLaboklab(59.78% 0.1568 -0.1276)
OKLCHoklch(59.78% 0.202 320.9)
XYZxyz(31.4141, 18.7409, 55.9844)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BC7 #5FC74B
analogous
#754BC7 #B34BC7 #C74B9D
triadic
#B34BC7 #C7B34B #4BC7B3
tetradic
#B34BC7 #C7754B #5FC74B #4B9DC7
square
#B34BC7 #C7754B #5FC74B #4B9DC7
split-complementary
#B34BC7 #9DC74B #4BC775
monochromatic
#672474 #9032A2 #B34BC7 #C77AD6 #DAA8E4

Accessibility & contrast

On white

4.42
#B34BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B34BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BC7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BC7#FFFFFF#000000##000000
##B34BC71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CB
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#B45F82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34bc7;
/* rgb */ color: rgb(179, 75, 199);
/* oklch */ color: oklch(59.8% 0.202 320.9);
Tailwind
colors: {
  custom: {
    50: '#cd84d8',
    500: '#b34bc7',
    950: '#000000',
  },
}
SCSS
$custom: #b34bc7;
$custom-light: #cd84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bc7",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 290.323,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59781,
    "c": 0.20215,
    "h": 320.9
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#B34BC7
secondary
#A5D19C
accent
#DC4C63
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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