#B345BC#B345BC

#B345BC is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.201 H 324.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B345BC
RGBrgb(179, 69, 188)
HSLhsl(295, 47%, 50%)
HSVhsv(295, 63%, 74%)
CMYKcmyk(4.8%, 63.3%, 0%, 26.3%)
CIE-LABlab(48.85, 60.13, -41.84)
CIE-LCHlch(48.85, 73.25, 325.17°)
OKLaboklab(58.48% 0.1636 -0.1161)
OKLCHoklch(58.48% 0.201 324.6)
XYZxyz(29.7949, 17.4725, 49.3704)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345BC #4EBC45
analogous
#7745BC #B345BC #BC458A
triadic
#B345BC #BCB345 #45BCB3
tetradic
#B345BC #BC7745 #4EBC45 #458ABC
square
#B345BC #BC7745 #4EBC45 #458ABC
split-complementary
#B345BC #8ABC45 #45BC77
monochromatic
#5E2463 #893490 #B345BC #C572CC #D89FDC

Accessibility & contrast

On white

4.67
#B345BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B345BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345BC#FFFFFF#000000##FFFFFF
##B345BC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BC0
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#B7577A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b345bc;
/* rgb */ color: rgb(179, 69, 188);
/* oklch */ color: oklch(58.5% 0.201 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd80d0',
    500: '#b345bc',
    950: '#000000',
  },
}
SCSS
$custom: #b345bc;
$custom-light: #cd80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b345bc",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 295.462,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.20057,
    "h": 324.6
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#B345BC
secondary
#98C994
accent
#D7515B
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B345BC

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

Preview Lab → · Contrast checker → · Palette generator →

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