#B345BA#B345BA

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

Color values

HEX#B345BA
RGBrgb(179, 69, 186)
HSLhsl(296, 46%, 50%)
HSVhsv(296, 63%, 73%)
CMYKcmyk(3.8%, 62.9%, 0%, 27.1%)
CIE-LABlab(48.74, 59.77, -40.84)
CIE-LCHlch(48.74, 72.39, 325.65°)
OKLaboklab(58.37% 0.1635 -0.1132)
OKLCHoklch(58.37% 0.199 325.3)
XYZxyz(29.5808, 17.3869, 48.2428)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345BA #4CBA45
analogous
#7845BA #B345BA #BA4587
triadic
#B345BA #BAB345 #45BAB3
tetradic
#B345BA #BA7845 #4CBA45 #4587BA
square
#B345BA #BA7845 #4CBA45 #4587BA
split-complementary
#B345BA #87BA45 #45BA78
monochromatic
#5D2461 #88348D #B345BA #C572CB #D79EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B345BA#FFFFFF#000000##FFFFFF
##B345BA1.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)
#316BBE
Deuteranopia (green-blind)
#5B79B7
Tritanopia (blue-blind)
#B75679
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b345ba;
/* rgb */ color: rgb(179, 69, 186);
/* oklch */ color: oklch(58.4% 0.199 325.3);
Tailwind
colors: {
  custom: {
    50: '#cd80cf',
    500: '#b345ba',
    950: '#000000',
  },
}
SCSS
$custom: #b345ba;
$custom-light: #cd80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b345ba",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 296.41,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.19884,
    "h": 325.3
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#B345BA
secondary
#96C893
accent
#D6525A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B345BA

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

Preview Lab → · Contrast checker → · Palette generator →

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