#B343A1#B343A1

#B343A1 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.181 H 334.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B343A1
RGBrgb(179, 67, 161)
HSLhsl(310, 46%, 48%)
HSVhsv(310, 63%, 70%)
CMYKcmyk(0%, 62.6%, 10.1%, 29.8%)
CIE-LABlab(47.20, 56.39, -28.57)
CIE-LCHlch(47.20, 63.21, 333.13°)
OKLaboklab(56.84% 0.1636 -0.0778)
OKLCHoklch(56.84% 0.181 334.5)
XYZxyz(27.0308, 16.1734, 35.4094)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343A1 #43B355
analogous
#8D43B3 #B343A1 #B34369
triadic
#B343A1 #A1B343 #43A1B3
tetradic
#B343A1 #B38D43 #43B355 #4369B3
square
#B343A1 #B38D43 #43B355 #4369B3
split-complementary
#B343A1 #69B343 #43B38D
monochromatic
#5A2251 #863279 #B343A1 #C86BB9 #D898CE

Accessibility & contrast

On white

4.96
#B343A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B343A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B343A1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343A1#FFFFFF#000000##FFFFFF
##B343A11.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A4
Deuteranopia (green-blind)
#66769E
Tritanopia (blue-blind)
#BB4B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b343a1;
/* rgb */ color: rgb(179, 67, 161);
/* oklch */ color: oklch(56.8% 0.181 334.5);
Tailwind
colors: {
  custom: {
    50: '#cd7ebd',
    500: '#b343a1',
    950: '#000000',
  },
}
SCSS
$custom: #b343a1;
$custom-light: #cd7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#b343a1",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 161
  },
  "hsl": {
    "h": 309.643,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.18113,
    "h": 334.5
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#B343A1
secondary
#8DC496
accent
#D56853
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B343A1

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

Preview Lab → · Contrast checker → · Palette generator →

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