#B345BF#B345BF

#B345BF is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.6% C 0.203 H 323.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B345BF
RGBrgb(179, 69, 191)
HSLhsl(294, 49%, 51%)
HSVhsv(294, 64%, 75%)
CMYKcmyk(6.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(49.01, 60.67, -43.33)
CIE-LCHlch(49.01, 74.55, 324.47°)
OKLaboklab(58.65% 0.1637 -0.1204)
OKLCHoklch(58.65% 0.203 323.7)
XYZxyz(30.1216, 17.6032, 51.0913)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345BF #51BF45
analogous
#7645BF #B345BF #BF458E
triadic
#B345BF #BFB345 #45BFB3
tetradic
#B345BF #BF7645 #51BF45 #458EBF
square
#B345BF #BF7645 #51BF45 #458EBF
split-complementary
#B345BF #8EBF45 #45BF76
monochromatic
#602366 #8A3394 #B345BF #C673CF #D8A0DE

Accessibility & contrast

On white

4.65
#B345BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B345BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B345BF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345BF#FFFFFF#000000##FFFFFF
##B345BF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#B6587C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b345bf;
/* rgb */ color: rgb(179, 69, 191);
/* oklch */ color: oklch(58.6% 0.203 323.7);
Tailwind
colors: {
  custom: {
    50: '#cd80d3',
    500: '#b345bf',
    950: '#000000',
  },
}
SCSS
$custom: #b345bf;
$custom-light: #cd80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b345bf",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 294.098,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.20318,
    "h": 323.7
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#B345BF
secondary
#9ACB95
accent
#D84F5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B345BF

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

Preview Lab → · Contrast checker → · Palette generator →

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