#B345BB#B345BB

#B345BB is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.4% C 0.200 H 325.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B345BB
RGBrgb(179, 69, 187)
HSLhsl(296, 46%, 50%)
HSVhsv(296, 63%, 73%)
CMYKcmyk(4.3%, 63.1%, 0%, 26.7%)
CIE-LABlab(48.80, 59.95, -41.34)
CIE-LCHlch(48.80, 72.82, 325.41°)
OKLaboklab(58.42% 0.1635 -0.1146)
OKLCHoklch(58.42% 0.2 325)
XYZxyz(29.6875, 17.4296, 48.8046)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345BB #4DBB45
analogous
#7845BB #B345BB #BB4588
triadic
#B345BB #BBB345 #45BBB3
tetradic
#B345BB #BB7845 #4DBB45 #4588BB
square
#B345BB #BB7845 #4DBB45 #4588BB
split-complementary
#B345BB #88BB45 #45BB78
monochromatic
#5E2462 #89348F #B345BB #C572CB #D89FDC

Accessibility & contrast

On white

4.68
#B345BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B345BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B345BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345BB#FFFFFF#000000##FFFFFF
##B345BB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBF
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#B7567A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b345bb;
/* rgb */ color: rgb(179, 69, 187);
/* oklch */ color: oklch(58.4% 0.200 325.0);
Tailwind
colors: {
  custom: {
    50: '#cd80d0',
    500: '#b345bb',
    950: '#000000',
  },
}
SCSS
$custom: #b345bb;
$custom-light: #cd80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b345bb",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 295.932,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.1997,
    "h": 325
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B345BB

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

Preview Lab → · Contrast checker → · Palette generator →

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