#B343A7#B343A7

#B343A7 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.186 H 332.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B343A7
RGBrgb(179, 67, 167)
HSLhsl(306, 46%, 48%)
HSVhsv(306, 63%, 70%)
CMYKcmyk(0%, 62.6%, 6.7%, 29.8%)
CIE-LABlab(47.48, 57.36, -31.68)
CIE-LCHlch(47.48, 65.53, 331.09°)
OKLaboklab(57.14% 0.1643 -0.0867)
OKLCHoklch(57.14% 0.186 332.2)
XYZxyz(27.5726, 16.3901, 38.2631)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343A7 #43B34F
analogous
#8743B3 #B343A7 #B3436F
triadic
#B343A7 #A7B343 #43A7B3
tetradic
#B343A7 #B38743 #43B34F #436FB3
square
#B343A7 #B38743 #43B34F #436FB3
split-complementary
#B343A7 #6FB343 #43B387
monochromatic
#5A2254 #86327D #B343A7 #C86BBE #D898D2

Accessibility & contrast

On white

4.91
#B343A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B343A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B343A7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343A7#FFFFFF#000000##FFFFFF
##B343A71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#6376A4
Tritanopia (blue-blind)
#BA4D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b343a7;
/* rgb */ color: rgb(179, 67, 167);
/* oklch */ color: oklch(57.1% 0.186 332.2);
Tailwind
colors: {
  custom: {
    50: '#cd7fc1',
    500: '#b343a7',
    950: '#000000',
  },
}
SCSS
$custom: #b343a7;
$custom-light: #cd7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b343a7",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 306.429,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.18582,
    "h": 332.2
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#B343A7
secondary
#8DC493
accent
#D56153
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B343A7

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

Preview Lab → · Contrast checker → · Palette generator →

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