#841BAA#841BAA

#841BAA is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.212 H 314.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#841BAA
RGBrgb(132, 27, 170)
HSLhsl(284, 73%, 39%)
HSVhsv(284, 84%, 67%)
CMYKcmyk(22.4%, 84.1%, 0%, 33.3%)
CIE-LABlab(35.19, 61.97, -53.51)
CIE-LCHlch(35.19, 81.88, 319.19°)
OKLaboklab(46.94% 0.1483 -0.1514)
OKLCHoklch(46.94% 0.212 314.4)
XYZxyz(17.1621, 8.5923, 38.7769)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841BAA #41AA1B
analogous
#3C1BAA #841BAA #AA1B88
triadic
#841BAA #AA841B #1BAA84
tetradic
#841BAA #AA3C1B #41AA1B #1B88AA
square
#841BAA #AA3C1B #41AA1B #1B88AA
split-complementary
#841BAA #88AA1B #1BAA3C
monochromatic
#320A40 #5B1375 #841BAA #AC26DC #C05BE5

Accessibility & contrast

On white

7.73
#841BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#841BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841BAA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841BAA#FFFFFF#000000##FFFFFF
##841BAA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0855A7
Tritanopia (blue-blind)
#804065
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841baa;
/* rgb */ color: rgb(132, 27, 170);
/* oklch */ color: oklch(46.9% 0.212 314.4);
Tailwind
colors: {
  custom: {
    50: '#ad67c4',
    500: '#841baa',
    950: '#000000',
  },
}
SCSS
$custom: #841baa;
$custom-light: #ad67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#841baa",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 284.056,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.21191,
    "h": 314.4
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#841BAA
secondary
#76C958
accent
#EF3969
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #841BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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