#B345B8#B345B8

#B345B8 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.197 H 326.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B345B8
RGBrgb(179, 69, 184)
HSLhsl(297, 45%, 50%)
HSVhsv(297, 63%, 72%)
CMYKcmyk(2.7%, 62.5%, 0%, 27.8%)
CIE-LABlab(48.64, 59.42, -39.84)
CIE-LCHlch(48.64, 71.54, 326.15°)
OKLaboklab(58.26% 0.1634 -0.1103)
OKLCHoklch(58.26% 0.197 326)
XYZxyz(29.3697, 17.3024, 47.1309)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345B8 #4AB845
analogous
#7945B8 #B345B8 #B84584
triadic
#B345B8 #B8B345 #45B8B3
tetradic
#B345B8 #B87945 #4AB845 #4584B8
square
#B345B8 #B87945 #4AB845 #4584B8
split-complementary
#B345B8 #84B845 #45B879
monochromatic
#5C245F #88348B #B345B8 #C671CA #D89DDA

Accessibility & contrast

On white

4.71
#B345B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B345B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B345B8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345B8#FFFFFF#000000##FFFFFF
##B345B81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336BBB
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#B75578
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b345b8;
/* rgb */ color: rgb(179, 69, 184);
/* oklch */ color: oklch(58.3% 0.197 326.0);
Tailwind
colors: {
  custom: {
    50: '#cd80ce',
    500: '#b345b8',
    950: '#000000',
  },
}
SCSS
$custom: #b345b8;
$custom-light: #cd80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b345b8",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 297.391,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.19712,
    "h": 326
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#B345B8
secondary
#94C792
accent
#D55358
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B345B8

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

Preview Lab → · Contrast checker → · Palette generator →

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