#B345A2#B345A2

#B345A2 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.179 H 334.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B345A2
RGBrgb(179, 69, 162)
HSLhsl(309, 44%, 49%)
HSVhsv(309, 61%, 70%)
CMYKcmyk(0%, 61.5%, 9.5%, 29.8%)
CIE-LABlab(47.56, 55.69, -28.60)
CIE-LCHlch(47.56, 62.60, 332.81°)
OKLaboklab(57.12% 0.1612 -0.0779)
OKLCHoklch(57.12% 0.179 334.2)
XYZxyz(27.2403, 16.4507, 35.9160)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345A2 #45B356
analogous
#8D45B3 #B345A2 #B3456B
triadic
#B345A2 #A2B345 #45A2B3
tetradic
#B345A2 #B38D45 #45B356 #456BB3
square
#B345A2 #B38D45 #45B356 #456BB3
split-complementary
#B345A2 #6BB345 #45B38D
monochromatic
#5B2352 #87347A #B345A2 #C76EB9 #D89ACF

Accessibility & contrast

On white

4.90
#B345A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B345A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B345A2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345A2#FFFFFF#000000##FFFFFF
##B345A21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b345a2;
/* rgb */ color: rgb(179, 69, 162);
/* oklch */ color: oklch(57.1% 0.179 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd80be',
    500: '#b345a2',
    950: '#000000',
  },
}
SCSS
$custom: #b345a2;
$custom-light: #cd80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b345a2",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 309.273,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.17903,
    "h": 334.2
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#B345A2
secondary
#8FC498
accent
#D46854
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B345A2

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

Preview Lab → · Contrast checker → · Palette generator →

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