#B341A1#B341A1

#B341A1 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.184 H 334.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B341A1
RGBrgb(179, 65, 161)
HSLhsl(309, 47%, 48%)
HSVhsv(309, 64%, 70%)
CMYKcmyk(0%, 63.7%, 10.1%, 29.8%)
CIE-LABlab(46.90, 57.23, -29.05)
CIE-LCHlch(46.90, 64.18, 333.09°)
OKLaboklab(56.62% 0.166 -0.0792)
OKLCHoklch(56.62% 0.184 334.5)
XYZxyz(26.9139, 15.9397, 35.3705)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341A1 #41B353
analogous
#8C41B3 #B341A1 #B34168
triadic
#B341A1 #A1B341 #41A1B3
tetradic
#B341A1 #B38C41 #41B353 #4168B3
square
#B341A1 #B38C41 #41B353 #4168B3
split-complementary
#B341A1 #68B341 #41B38C
monochromatic
#592050 #863179 #B341A1 #C869B9 #D996CE

Accessibility & contrast

On white

5.01
#B341A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B341A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B341A1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341A1#FFFFFF#000000##FFFFFF
##B341A11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#65759E
Tritanopia (blue-blind)
#BB496B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b341a1;
/* rgb */ color: rgb(179, 65, 161);
/* oklch */ color: oklch(56.6% 0.184 334.5);
Tailwind
colors: {
  custom: {
    50: '#cd7dbd',
    500: '#b341a1',
    950: '#000000',
  },
}
SCSS
$custom: #b341a1;
$custom-light: #cd7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b341a1",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 309.474,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.18394,
    "h": 334.5
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#B341A1
secondary
#8BC494
accent
#D66651
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B341A1

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

Preview Lab → · Contrast checker → · Palette generator →

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