#B345A7#B345A7

#B345A7 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.183 H 332.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B345A7
RGBrgb(179, 69, 167)
HSLhsl(307, 44%, 49%)
HSVhsv(307, 61%, 70%)
CMYKcmyk(0%, 61.5%, 6.7%, 29.8%)
CIE-LABlab(47.79, 56.51, -31.20)
CIE-LCHlch(47.79, 64.55, 331.10°)
OKLaboklab(57.37% 0.1619 -0.0854)
OKLCHoklch(57.37% 0.183 332.2)
XYZxyz(27.6936, 16.6320, 38.3034)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345A7 #45B351
analogous
#8845B3 #B345A7 #B34570
triadic
#B345A7 #A7B345 #45A7B3
tetradic
#B345A7 #B38845 #45B351 #4570B3
square
#B345A7 #B38845 #45B351 #4570B3
split-complementary
#B345A7 #70B345 #45B388
monochromatic
#5B2355 #87347E #B345A7 #C76EBD #D89AD1

Accessibility & contrast

On white

4.85
#B345A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B345A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B345A7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345A7#FFFFFF#000000##FFFFFF
##B345A71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167AA
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#BA4E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b345a7;
/* rgb */ color: rgb(179, 69, 167);
/* oklch */ color: oklch(57.4% 0.183 332.2);
Tailwind
colors: {
  custom: {
    50: '#cd80c1',
    500: '#b345a7',
    950: '#000000',
  },
}
SCSS
$custom: #b345a7;
$custom-light: #cd80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b345a7",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 306.545,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.18299,
    "h": 332.2
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#B345A7
secondary
#8FC495
accent
#D46254
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B345A7

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

Preview Lab → · Contrast checker → · Palette generator →

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