#B346B7#B346B7

#B346B7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.195 H 326.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B346B7
RGBrgb(179, 70, 183)
HSLhsl(298, 45%, 50%)
HSVhsv(298, 62%, 72%)
CMYKcmyk(2.2%, 61.7%, 0%, 28.2%)
CIE-LABlab(48.74, 58.81, -39.10)
CIE-LCHlch(48.74, 70.62, 326.38°)
OKLaboklab(58.31% 0.1621 -0.1082)
OKLCHoklch(58.31% 0.195 326.3)
XYZxyz(29.3272, 17.3847, 46.6014)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346B7 #4AB746
analogous
#7B46B7 #B346B7 #B74683
triadic
#B346B7 #B7B346 #46B7B3
tetradic
#B346B7 #B77B46 #4AB746 #4683B7
square
#B346B7 #B77B46 #4AB746 #4683B7
split-complementary
#B346B7 #83B746 #46B77B
monochromatic
#5C245E #88358B #B346B7 #C671C9 #D89EDA

Accessibility & contrast

On white

4.69
#B346B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B346B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B346B7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B346B7#FFFFFF#000000##FFFFFF
##B346B71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#5D79B4
Tritanopia (blue-blind)
#B85578
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b346b7;
/* rgb */ color: rgb(179, 70, 183);
/* oklch */ color: oklch(58.3% 0.195 326.3);
Tailwind
colors: {
  custom: {
    50: '#cd81cd',
    500: '#b346b7',
    950: '#000000',
  },
}
SCSS
$custom: #b346b7;
$custom-light: #cd81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b346b7",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 297.876,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58314,
    "c": 0.19488,
    "h": 326.3
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#B346B7
secondary
#94C693
accent
#D45358
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B346B7

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

Preview Lab → · Contrast checker → · Palette generator →

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