#B345A3#B345A3

#B345A3 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.180 H 333.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B345A3
RGBrgb(179, 69, 163)
HSLhsl(309, 44%, 49%)
HSVhsv(309, 61%, 70%)
CMYKcmyk(0%, 61.5%, 8.9%, 29.8%)
CIE-LABlab(47.61, 55.85, -29.12)
CIE-LCHlch(47.61, 62.99, 332.46°)
OKLaboklab(57.17% 0.1613 -0.0794)
OKLCHoklch(57.17% 0.18 333.8)
XYZxyz(27.3295, 16.4864, 36.3860)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345A3 #45B355
analogous
#8C45B3 #B345A3 #B3456C
triadic
#B345A3 #A3B345 #45A3B3
tetradic
#B345A3 #B38C45 #45B355 #456CB3
square
#B345A3 #B38C45 #45B355 #456CB3
split-complementary
#B345A3 #6CB345 #45B38C
monochromatic
#5B2353 #87347B #B345A3 #C76EBA #D89ACF

Accessibility & contrast

On white

4.89
#B345A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B345A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B345A3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345A3#FFFFFF#000000##FFFFFF
##B345A31.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#BB4D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b345a3;
/* rgb */ color: rgb(179, 69, 163);
/* oklch */ color: oklch(57.2% 0.180 333.8);
Tailwind
colors: {
  custom: {
    50: '#cd80be',
    500: '#b345a3',
    950: '#000000',
  },
}
SCSS
$custom: #b345a3;
$custom-light: #cd80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b345a3",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 308.727,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.17982,
    "h": 333.8
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#B345A3
secondary
#8FC497
accent
#D46654
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B345A3

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

Preview Lab → · Contrast checker → · Palette generator →

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