#841A97#841A97

#841A97 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.197 H 320.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#841A97
RGBrgb(132, 26, 151)
HSLhsl(291, 71%, 35%)
HSVhsv(291, 83%, 59%)
CMYKcmyk(12.6%, 82.8%, 0%, 40.8%)
CIE-LABlab(33.73, 58.64, -44.37)
CIE-LCHlch(33.73, 73.53, 322.89°)
OKLaboklab(45.49% 0.1526 -0.1245)
OKLCHoklch(45.49% 0.197 320.8)
XYZxyz(15.4704, 7.8795, 29.9782)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A97 #2D971A
analogous
#461A97 #841A97 #971A6C
triadic
#841A97 #97841A #1A9784
tetradic
#841A97 #97461A #2D971A #1A6C97
square
#841A97 #97461A #2D971A #1A6C97
split-complementary
#841A97 #6C971A #1A9746
monochromatic
#29082F #561163 #841A97 #B223CB #C94BE0

Accessibility & contrast

On white

8.15
#841A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#841A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A97
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A97#FFFFFF#000000##FFFFFF
##841A971.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#2A5394
Tritanopia (blue-blind)
#85365A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841a97;
/* rgb */ color: rgb(132, 26, 151);
/* oklch */ color: oklch(45.5% 0.197 320.8);
Tailwind
colors: {
  custom: {
    50: '#ac66b6',
    500: '#841a97',
    950: '#000000',
  },
}
SCSS
$custom: #841a97;
$custom-light: #ac66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#841a97",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 290.88,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.19696,
    "h": 320.8
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#841A97
secondary
#5DC24B
accent
#ED3A56
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841A97

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

Preview Lab → · Contrast checker → · Palette generator →

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