#B343AC#B343AC

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

Color values

HEX#B343AC
RGBrgb(179, 67, 172)
HSLhsl(304, 46%, 48%)
HSVhsv(304, 63%, 70%)
CMYKcmyk(0%, 62.6%, 3.9%, 29.8%)
CIE-LABlab(47.72, 58.19, -34.25)
CIE-LCHlch(47.72, 67.52, 329.52°)
OKLaboklab(57.4% 0.1649 -0.0941)
OKLCHoklch(57.4% 0.19 330.3)
XYZxyz(28.0438, 16.5786, 40.7446)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343AC #43B34A
analogous
#8243B3 #B343AC #B34374
triadic
#B343AC #ACB343 #43ACB3
tetradic
#B343AC #B38243 #43B34A #4374B3
square
#B343AC #B38243 #43B34A #4374B3
split-complementary
#B343AC #74B343 #43B382
monochromatic
#5A2256 #863281 #B343AC #C86BC2 #D898D4

Accessibility & contrast

On white

4.87
#B343AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B343AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B343AC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343AC#FFFFFF#000000##FFFFFF
##B343AC1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#B94F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b343ac;
/* rgb */ color: rgb(179, 67, 172);
/* oklch */ color: oklch(57.4% 0.190 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd7fc5',
    500: '#b343ac',
    950: '#000000',
  },
}
SCSS
$custom: #b343ac;
$custom-light: #cd7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b343ac",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 303.75,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.18985,
    "h": 330.3
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#B343AC
secondary
#8DC491
accent
#D55B53
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B343AC

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

Preview Lab → · Contrast checker → · Palette generator →

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