#B343AB#B343AB

#B343AB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.189 H 330.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B343AB
RGBrgb(179, 67, 171)
HSLhsl(304, 46%, 48%)
HSVhsv(304, 63%, 70%)
CMYKcmyk(0%, 62.6%, 4.5%, 29.8%)
CIE-LABlab(47.68, 58.02, -33.74)
CIE-LCHlch(47.68, 67.12, 329.82°)
OKLaboklab(57.34% 0.1648 -0.0927)
OKLCHoklch(57.34% 0.189 330.6)
XYZxyz(27.9481, 16.5403, 40.2408)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343AB #43B34B
analogous
#8343B3 #B343AB #B34373
triadic
#B343AB #ABB343 #43ABB3
tetradic
#B343AB #B38343 #43B34B #4373B3
square
#B343AB #B38343 #43B34B #4373B3
split-complementary
#B343AB #73B343 #43B383
monochromatic
#5A2256 #863280 #B343AB #C86BC1 #D898D4

Accessibility & contrast

On white

4.88
#B343AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B343AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B343AB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343AB#FFFFFF#000000##FFFFFF
##B343AB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#BA4E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b343ab;
/* rgb */ color: rgb(179, 67, 171);
/* oklch */ color: oklch(57.3% 0.189 330.6);
Tailwind
colors: {
  custom: {
    50: '#cd7fc4',
    500: '#b343ab',
    950: '#000000',
  },
}
SCSS
$custom: #b343ab;
$custom-light: #cd7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b343ab",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 304.286,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57344,
    "c": 0.18903,
    "h": 330.6
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B343AB

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

Preview Lab → · Contrast checker → · Palette generator →

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