#841E96#841E96

#841E96 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.193 H 321.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#841E96
RGBrgb(132, 30, 150)
HSLhsl(291, 67%, 35%)
HSVhsv(291, 80%, 59%)
CMYKcmyk(12%, 80%, 0%, 41.2%)
CIE-LABlab(34.06, 57.30, -43.23)
CIE-LCHlch(34.06, 71.78, 322.97°)
OKLaboklab(45.7% 0.1497 -0.1212)
OKLCHoklch(45.7% 0.193 321)
XYZxyz(15.4844, 8.0369, 29.5839)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E96 #30961E
analogous
#481E96 #841E96 #961E6C
triadic
#841E96 #96841E #1E9684
tetradic
#841E96 #96481E #30961E #1E6C96
square
#841E96 #96481E #30961E #1E6C96
split-complementary
#841E96 #6C961E #1E9648
monochromatic
#2A0A30 #571463 #841E96 #B128C9 #C852DC

Accessibility & contrast

On white

8.05
#841E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#841E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E96
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E96#FFFFFF#000000##FFFFFF
##841E961.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#2D5493
Tritanopia (blue-blind)
#85385A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841e96;
/* rgb */ color: rgb(132, 30, 150);
/* oklch */ color: oklch(45.7% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#ac67b5',
    500: '#841e96',
    950: '#000000',
  },
}
SCSS
$custom: #841e96;
$custom-light: #ac67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#841e96",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 291,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.1926,
    "h": 321
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#841E96
secondary
#61BF50
accent
#EA3E58
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841E96

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

Preview Lab → · Contrast checker → · Palette generator →

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