#B343A2#B343A2

#B343A2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.182 H 334.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B343A2
RGBrgb(179, 67, 162)
HSLhsl(309, 46%, 48%)
HSVhsv(309, 63%, 70%)
CMYKcmyk(0%, 62.6%, 9.5%, 29.8%)
CIE-LABlab(47.25, 56.55, -29.09)
CIE-LCHlch(47.25, 63.59, 332.78°)
OKLaboklab(56.89% 0.1637 -0.0793)
OKLCHoklch(56.89% 0.182 334.1)
XYZxyz(27.1193, 16.2088, 35.8757)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343A2 #43B354
analogous
#8C43B3 #B343A2 #B3436A
triadic
#B343A2 #A2B343 #43A2B3
tetradic
#B343A2 #B38C43 #43B354 #436AB3
square
#B343A2 #B38C43 #43B354 #436AB3
split-complementary
#B343A2 #6AB343 #43B38C
monochromatic
#5A2251 #86327A #B343A2 #C86BBA #D898CF

Accessibility & contrast

On white

4.95
#B343A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B343A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B343A2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343A2#FFFFFF#000000##FFFFFF
##B343A21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#BB4B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b343a2;
/* rgb */ color: rgb(179, 67, 162);
/* oklch */ color: oklch(56.9% 0.182 334.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ebe',
    500: '#b343a2',
    950: '#000000',
  },
}
SCSS
$custom: #b343a2;
$custom-light: #cd7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b343a2",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 309.107,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.1819,
    "h": 334.1
  },
  "luminance": 0.16207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B343A2

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

Preview Lab → · Contrast checker → · Palette generator →

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