#B346A2#B346A2

#B346A2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.178 H 334.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B346A2
RGBrgb(179, 70, 162)
HSLhsl(309, 44%, 49%)
HSVhsv(309, 61%, 70%)
CMYKcmyk(0%, 60.9%, 9.5%, 29.8%)
CIE-LABlab(47.72, 55.25, -28.35)
CIE-LCHlch(47.72, 62.10, 332.83°)
OKLaboklab(57.24% 0.1599 -0.0772)
OKLCHoklch(57.24% 0.178 334.2)
XYZxyz(27.3023, 16.5747, 35.9367)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B346A2 #46B357
analogous
#8E46B3 #B346A2 #B3466C
triadic
#B346A2 #A2B346 #46A2B3
tetradic
#B346A2 #B38E46 #46B357 #466CB3
square
#B346A2 #B38E46 #46B357 #466CB3
split-complementary
#B346A2 #6CB346 #46B38E
monochromatic
#5B2452 #87357A #B346A2 #C76FB9 #D89BCF

Accessibility & contrast

On white

4.87
#B346A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B346A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B346A2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B346A2#FFFFFF#000000##FFFFFF
##B346A21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#BB4D6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b346a2;
/* rgb */ color: rgb(179, 70, 162);
/* oklch */ color: oklch(57.2% 0.178 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd80be',
    500: '#b346a2',
    950: '#000000',
  },
}
SCSS
$custom: #b346a2;
$custom-light: #cd80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b346a2",
  "rgb": {
    "r": 179,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 309.358,
    "s": 43.775,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.17758,
    "h": 334.2
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#B346A2
secondary
#90C499
accent
#D46854
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B346A2

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

Preview Lab → · Contrast checker → · Palette generator →

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