#B345C2#B345C2

#B345C2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.206 H 322.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B345C2
RGBrgb(179, 69, 194)
HSLhsl(293, 51%, 52%)
HSVhsv(293, 64%, 76%)
CMYKcmyk(7.7%, 64.4%, 0%, 23.9%)
CIE-LABlab(49.18, 61.22, -44.80)
CIE-LCHlch(49.18, 75.86, 323.80°)
OKLaboklab(58.82% 0.1637 -0.1247)
OKLCHoklch(58.82% 0.206 322.7)
XYZxyz(30.4552, 17.7366, 52.8478)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345C2 #54C245
analogous
#7545C2 #B345C2 #C24593
triadic
#B345C2 #C2B345 #45C2B3
tetradic
#B345C2 #C27545 #54C245 #4593C2
square
#B345C2 #C27545 #54C245 #4593C2
split-complementary
#B345C2 #93C245 #45C275
monochromatic
#61236A #8C3298 #B345C2 #C673D1 #D9A1E0

Accessibility & contrast

On white

4.62
#B345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B345C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B345C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345C2#FFFFFF#000000##FFFFFF
##B345C21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#B6597E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b345c2;
/* rgb */ color: rgb(179, 69, 194);
/* oklch */ color: oklch(58.8% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#cd80d5',
    500: '#b345c2',
    950: '#000000',
  },
}
SCSS
$custom: #b345c2;
$custom-light: #cd80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b345c2",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 292.8,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.20581,
    "h": 322.7
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#B345C2
secondary
#9DCD96
accent
#DA4E5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B345C2

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

Preview Lab → · Contrast checker → · Palette generator →

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