#841B96#841B96

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

Color values

HEX#841B96
RGBrgb(132, 27, 150)
HSLhsl(291, 69%, 35%)
HSVhsv(291, 82%, 59%)
CMYKcmyk(12%, 82%, 0%, 41.2%)
CIE-LABlab(33.76, 58.18, -43.71)
CIE-LCHlch(33.76, 72.77, 323.08°)
OKLaboklab(45.49% 0.152 -0.1226)
OKLCHoklch(45.49% 0.195 321.1)
XYZxyz(15.4120, 7.8923, 29.5598)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B96 #2D961B
analogous
#471B96 #841B96 #961B6A
triadic
#841B96 #96841B #1B9684
tetradic
#841B96 #96471B #2D961B #1B6A96
square
#841B96 #96471B #2D961B #1B6A96
split-complementary
#841B96 #6A961B #1B9647
monochromatic
#29082E #561262 #841B96 #B224CA #C94DDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##841B96#FFFFFF#000000##FFFFFF
##841B961.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)
#004899
Deuteranopia (green-blind)
#2B5393
Tritanopia (blue-blind)
#85365A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841b96;
/* rgb */ color: rgb(132, 27, 150);
/* oklch */ color: oklch(45.5% 0.195 321.1);
Tailwind
colors: {
  custom: {
    50: '#ac66b5',
    500: '#841b96',
    950: '#000000',
  },
}
SCSS
$custom: #841b96;
$custom-light: #ac66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#841b96",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 291.22,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.19529,
    "h": 321.1
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#841B96
secondary
#5DC14C
accent
#EC3B55
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841B96

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

Preview Lab → · Contrast checker → · Palette generator →

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