#841A9E#841A9E

#841A9E is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.0% C 0.203 H 318.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#841A9E
RGBrgb(132, 26, 158)
HSLhsl(288, 72%, 36%)
HSVhsv(288, 84%, 62%)
CMYKcmyk(16.5%, 83.5%, 0%, 38%)
CIE-LABlab(34.22, 59.94, -47.84)
CIE-LCHlch(34.22, 76.69, 321.40°)
OKLaboklab(45.99% 0.1515 -0.1347)
OKLCHoklch(45.99% 0.203 318.3)
XYZxyz(16.0558, 8.1137, 33.0615)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A9E #349E1A
analogous
#421A9E #841A9E #9E1A76
triadic
#841A9E #9E841A #1A9E84
tetradic
#841A9E #9E421A #349E1A #1A769E
square
#841A9E #9E421A #349E1A #1A769E
split-complementary
#841A9E #769E1A #1A9E42
monochromatic
#2C0935 #581169 #841A9E #B023D3 #C550E2

Accessibility & contrast

On white

8.01
#841A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#841A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A9E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A9E#FFFFFF#000000##FFFFFF
##841A9E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#22549B
Tritanopia (blue-blind)
#833A5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841a9e;
/* rgb */ color: rgb(132, 26, 158);
/* oklch */ color: oklch(46.0% 0.203 318.3);
Tailwind
colors: {
  custom: {
    50: '#ac66bb',
    500: '#841a9e',
    950: '#000000',
  },
}
SCSS
$custom: #841a9e;
$custom-light: #ac66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#841a9e",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 288.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.2027,
    "h": 318.3
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#841A9E
secondary
#66C54F
accent
#EE395D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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