#B34CB7#B34CB7

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

Color values

HEX#B34CB7
RGBrgb(179, 76, 183)
HSLhsl(298, 43%, 51%)
HSVhsv(298, 58%, 72%)
CMYKcmyk(2.2%, 58.5%, 0%, 28.2%)
CIE-LABlab(49.71, 56.16, -37.58)
CIE-LCHlch(49.71, 67.57, 326.21°)
OKLaboklab(59.02% 0.1547 -0.1038)
OKLCHoklch(59.02% 0.186 326.1)
XYZxyz(29.7215, 18.1732, 46.7329)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CB7 #50B74C
analogous
#7D4CB7 #B34CB7 #B74C85
triadic
#B34CB7 #B7B34C #4CB7B3
tetradic
#B34CB7 #B77D4C #50B74C #4C85B7
square
#B34CB7 #B77D4C #50B74C #4C85B7
split-complementary
#B34CB7 #85B74C #4CB77D
monochromatic
#5F2761 #8A398D #B34CB7 #C678C9 #D8A3DA

Accessibility & contrast

On white

4.53
#B34CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B34CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CB7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CB7#FFFFFF#000000##000000
##B34CB71.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#617BB4
Tritanopia (blue-blind)
#B75A7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b34cb7;
/* rgb */ color: rgb(179, 76, 183);
/* oklch */ color: oklch(59.0% 0.186 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc84cd',
    500: '#b34cb7',
    950: '#000000',
  },
}
SCSS
$custom: #b34cb7;
$custom-light: #cc84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cb7",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 297.757,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59016,
    "c": 0.1863,
    "h": 326.1
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#B34CB7
secondary
#99C798
accent
#D2555A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B34CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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