#841AA1#841AA1

#841AA1 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.205 H 317.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#841AA1
RGBrgb(132, 26, 161)
HSLhsl(287, 72%, 37%)
HSVhsv(287, 84%, 63%)
CMYKcmyk(18%, 83.9%, 0%, 36.9%)
CIE-LABlab(34.43, 60.50, -49.31)
CIE-LCHlch(34.43, 78.05, 320.82°)
OKLaboklab(46.21% 0.1509 -0.139)
OKLCHoklch(46.21% 0.205 317.3)
XYZxyz(16.3172, 8.2183, 34.4381)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841AA1 #37A11A
analogous
#411AA1 #841AA1 #A11A7B
triadic
#841AA1 #A1841A #1AA184
tetradic
#841AA1 #A1411A #37A11A #1A7BA1
square
#841AA1 #A1411A #37A11A #1A7BA1
split-complementary
#841AA1 #7BA11A #1AA141
monochromatic
#2E0938 #59116C #841AA1 #AF23D6 #C452E3

Accessibility & contrast

On white

7.94
#841AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#841AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841AA1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841AA1#FFFFFF#000000##FFFFFF
##841AA11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#1D549E
Tritanopia (blue-blind)
#833B60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841aa1;
/* rgb */ color: rgb(132, 26, 161);
/* oklch */ color: oklch(46.2% 0.205 317.3);
Tailwind
colors: {
  custom: {
    50: '#ac66be',
    500: '#841aa1',
    950: '#000000',
  },
}
SCSS
$custom: #841aa1;
$custom-light: #ac66be;
$custom-dark: #000000;
JSON
{
  "hex": "#841aa1",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 287.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.20517,
    "h": 317.3
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#841AA1
secondary
#6AC651
accent
#EF3960
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841AA1

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

Preview Lab → · Contrast checker → · Palette generator →

#841AA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva