#B345AC#B345AC

#B345AC is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.187 H 330.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B345AC
RGBrgb(179, 69, 172)
HSLhsl(304, 44%, 49%)
HSVhsv(304, 61%, 70%)
CMYKcmyk(0%, 61.5%, 3.9%, 29.8%)
CIE-LABlab(48.03, 57.34, -33.77)
CIE-LCHlch(48.03, 66.54, 329.50°)
OKLaboklab(57.62% 0.1624 -0.0928)
OKLCHoklch(57.62% 0.187 330.3)
XYZxyz(28.1647, 16.8205, 40.7850)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345AC #45B34C
analogous
#8345B3 #B345AC #B34575
triadic
#B345AC #ACB345 #45ACB3
tetradic
#B345AC #B38345 #45B34C #4575B3
square
#B345AC #B38345 #45B34C #4575B3
split-complementary
#B345AC #75B345 #45B383
monochromatic
#5B2357 #873482 #B345AC #C76EC1 #D89AD4

Accessibility & contrast

On white

4.81
#B345AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B345AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B345AC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345AC#FFFFFF#000000##FFFFFF
##B345AC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#B95072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b345ac;
/* rgb */ color: rgb(179, 69, 172);
/* oklch */ color: oklch(57.6% 0.187 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd80c5',
    500: '#b345ac',
    950: '#000000',
  },
}
SCSS
$custom: #b345ac;
$custom-light: #cd80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b345ac",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 303.818,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5762,
    "c": 0.18704,
    "h": 330.3
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#B345AC
secondary
#8FC493
accent
#D45C54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B345AC

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

Preview Lab → · Contrast checker → · Palette generator →

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