#841B97#841B97

#841B97 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.6% C 0.196 H 320.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#841B97
RGBrgb(132, 27, 151)
HSLhsl(291, 70%, 35%)
HSVhsv(291, 82%, 59%)
CMYKcmyk(12.6%, 82.1%, 0%, 40.8%)
CIE-LABlab(33.83, 58.36, -44.22)
CIE-LCHlch(33.83, 73.22, 322.85°)
OKLaboklab(45.56% 0.1519 -0.1241)
OKLCHoklch(45.56% 0.196 320.7)
XYZxyz(15.4929, 7.9246, 29.9857)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B97 #2E971B
analogous
#461B97 #841B97 #971B6C
triadic
#841B97 #97841B #1B9784
tetradic
#841B97 #97461B #2E971B #1B6C97
square
#841B97 #97461B #2E971B #1B6C97
split-complementary
#841B97 #6C971B #1B9746
monochromatic
#29082F #571263 #841B97 #B124CB #C94DDF

Accessibility & contrast

On white

8.12
#841B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841B97
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B97#FFFFFF#000000##FFFFFF
##841B971.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#2A5394
Tritanopia (blue-blind)
#85375A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841b97;
/* rgb */ color: rgb(132, 27, 151);
/* oklch */ color: oklch(45.6% 0.196 320.7);
Tailwind
colors: {
  custom: {
    50: '#ac66b6',
    500: '#841b97',
    950: '#000000',
  },
}
SCSS
$custom: #841b97;
$custom-light: #ac66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#841b97",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 290.806,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.19611,
    "h": 320.7
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#841B97
secondary
#5EC14C
accent
#EC3B56
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841B97

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

Preview Lab → · Contrast checker → · Palette generator →

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