#B346BA#B346BA

#B346BA is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.197 H 325.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B346BA
RGBrgb(179, 70, 186)
HSLhsl(296, 46%, 50%)
HSVhsv(296, 62%, 73%)
CMYKcmyk(3.8%, 62.4%, 0%, 27.1%)
CIE-LABlab(48.90, 59.35, -40.60)
CIE-LCHlch(48.90, 71.90, 325.62°)
OKLaboklab(58.48% 0.1623 -0.1125)
OKLCHoklch(58.48% 0.197 325.3)
XYZxyz(29.6428, 17.5110, 48.2635)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346BA #4DBA46
analogous
#7946BA #B346BA #BA4687
triadic
#B346BA #BAB346 #46BAB3
tetradic
#B346BA #BA7946 #4DBA46 #4687BA
square
#B346BA #BA7946 #4DBA46 #4687BA
split-complementary
#B346BA #87BA46 #46BA79
monochromatic
#5E2461 #89358E #B346BA #C573CB #D89FDB

Accessibility & contrast

On white

4.66
#B346BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B346BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B346BA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B346BA#FFFFFF#000000##FFFFFF
##B346BA1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#B7567A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b346ba;
/* rgb */ color: rgb(179, 70, 186);
/* oklch */ color: oklch(58.5% 0.197 325.3);
Tailwind
colors: {
  custom: {
    50: '#cd81cf',
    500: '#b346ba',
    950: '#000000',
  },
}
SCSS
$custom: #b346ba;
$custom-light: #cd81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b346ba",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 296.379,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.19747,
    "h": 325.3
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#B346BA
secondary
#97C894
accent
#D5525A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B346BA

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

Preview Lab → · Contrast checker → · Palette generator →

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