#B341A7#B341A7

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

Color values

HEX#B341A7
RGBrgb(179, 65, 167)
HSLhsl(306, 47%, 48%)
HSVhsv(306, 64%, 70%)
CMYKcmyk(0%, 63.7%, 6.7%, 29.8%)
CIE-LABlab(47.18, 58.20, -32.16)
CIE-LCHlch(47.18, 66.49, 331.08°)
OKLaboklab(56.92% 0.1668 -0.0881)
OKLCHoklch(56.92% 0.189 332.2)
XYZxyz(27.4558, 16.1564, 38.2241)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341A7 #41B34D
analogous
#8641B3 #B341A7 #B3416E
triadic
#B341A7 #A7B341 #41A7B3
tetradic
#B341A7 #B38641 #41B34D #416EB3
square
#B341A7 #B38641 #41B34D #416EB3
split-complementary
#B341A7 #6EB341 #41B386
monochromatic
#592053 #86317D #B341A7 #C869BE #D996D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B341A7#FFFFFF#000000##FFFFFF
##B341A71.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)
#3C66AA
Deuteranopia (green-blind)
#6276A4
Tritanopia (blue-blind)
#BA4B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b341a7;
/* rgb */ color: rgb(179, 65, 167);
/* oklch */ color: oklch(56.9% 0.189 332.2);
Tailwind
colors: {
  custom: {
    50: '#cd7ec1',
    500: '#b341a7',
    950: '#000000',
  },
}
SCSS
$custom: #b341a7;
$custom-light: #cd7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b341a7",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 306.316,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.1886,
    "h": 332.2
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#B341A7
secondary
#8BC491
accent
#D65F51
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B341A7

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

Preview Lab → · Contrast checker → · Palette generator →

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