#B341A6#B341A6

#B341A6 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.188 H 332.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B341A6
RGBrgb(179, 65, 166)
HSLhsl(307, 47%, 48%)
HSVhsv(307, 64%, 70%)
CMYKcmyk(0%, 63.7%, 7.3%, 29.8%)
CIE-LABlab(47.13, 58.04, -31.64)
CIE-LCHlch(47.13, 66.10, 331.40°)
OKLaboklab(56.87% 0.1667 -0.0866)
OKLCHoklch(56.87% 0.188 332.5)
XYZxyz(27.3637, 16.1196, 37.7392)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341A6 #41B34E
analogous
#8741B3 #B341A6 #B3416D
triadic
#B341A6 #A6B341 #41A6B3
tetradic
#B341A6 #B38741 #41B34E #416DB3
square
#B341A6 #B38741 #41B34E #416DB3
split-complementary
#B341A6 #6DB341 #41B387
monochromatic
#592053 #86317C #B341A6 #C869BE #D996D1

Accessibility & contrast

On white

4.97
#B341A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B341A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341A6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341A6#FFFFFF#000000##FFFFFF
##B341A61.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#BA4B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b341a6;
/* rgb */ color: rgb(179, 65, 166);
/* oklch */ color: oklch(56.9% 0.188 332.5);
Tailwind
colors: {
  custom: {
    50: '#cd7ec1',
    500: '#b341a6',
    950: '#000000',
  },
}
SCSS
$custom: #b341a6;
$custom-light: #cd7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b341a6",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 306.842,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.18782,
    "h": 332.5
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#B341A6
secondary
#8BC492
accent
#D66151
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B341A6

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

Preview Lab → · Contrast checker → · Palette generator →

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