#B345C4#B345C4

#B345C4 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.208 H 322.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B345C4
RGBrgb(179, 69, 196)
HSLhsl(292, 52%, 52%)
HSVhsv(292, 65%, 77%)
CMYKcmyk(8.7%, 64.8%, 0%, 23.1%)
CIE-LABlab(49.29, 61.59, -45.79)
CIE-LCHlch(49.29, 76.74, 323.37°)
OKLaboklab(58.93% 0.1637 -0.1276)
OKLCHoklch(58.93% 0.208 322.1)
XYZxyz(30.6813, 17.8271, 54.0387)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345C4 #56C445
analogous
#7445C4 #B345C4 #C44595
triadic
#B345C4 #C4B345 #45C4B3
tetradic
#B345C4 #C47445 #56C445 #4595C4
square
#B345C4 #C47445 #56C445 #4595C4
split-complementary
#B345C4 #95C445 #45C474
monochromatic
#62226C #8D319B #B345C4 #C673D3 #D9A2E1

Accessibility & contrast

On white

4.60
#B345C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B345C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B345C4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345C4#FFFFFF#000000##FFFFFF
##B345C41.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC8
Deuteranopia (green-blind)
#5579C1
Tritanopia (blue-blind)
#B55A7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b345c4;
/* rgb */ color: rgb(179, 69, 196);
/* oklch */ color: oklch(58.9% 0.208 322.1);
Tailwind
colors: {
  custom: {
    50: '#cd80d6',
    500: '#b345c4',
    950: '#000000',
  },
}
SCSS
$custom: #b345c4;
$custom-light: #cd80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b345c4",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 291.969,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.20757,
    "h": 322.1
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#B345C4
secondary
#9ECE97
accent
#DB4D60
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B345C4

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

Preview Lab → · Contrast checker → · Palette generator →

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