#B345AA#B345AA

#B345AA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.185 H 331.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B345AA
RGBrgb(179, 69, 170)
HSLhsl(305, 44%, 49%)
HSVhsv(305, 61%, 70%)
CMYKcmyk(0%, 61.5%, 5%, 29.8%)
CIE-LABlab(47.94, 57.00, -32.74)
CIE-LCHlch(47.94, 65.74, 330.13°)
OKLaboklab(57.52% 0.1622 -0.0898)
OKLCHoklch(57.52% 0.185 331)
XYZxyz(27.9741, 16.7442, 39.7810)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B345AA #45B34E
analogous
#8545B3 #B345AA #B34573
triadic
#B345AA #AAB345 #45AAB3
tetradic
#B345AA #B38545 #45B34E #4573B3
square
#B345AA #B38545 #45B34E #4573B3
split-complementary
#B345AA #73B345 #45B385
monochromatic
#5B2356 #873480 #B345AA #C76EC0 #D89AD3

Accessibility & contrast

On white

4.83
#B345AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B345AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B345AA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B345AA#FFFFFF#000000##FFFFFF
##B345AA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#BA5071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b345aa;
/* rgb */ color: rgb(179, 69, 170);
/* oklch */ color: oklch(57.5% 0.185 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd80c3',
    500: '#b345aa',
    950: '#000000',
  },
}
SCSS
$custom: #b345aa;
$custom-light: #cd80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b345aa",
  "rgb": {
    "r": 179,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 304.909,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.1854,
    "h": 331
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#B345AA
secondary
#8FC494
accent
#D45E54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B345AA

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

Preview Lab → · Contrast checker → · Palette generator →

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