#841E97#841E97

#841E97 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.193 H 320.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#841E97
RGBrgb(132, 30, 151)
HSLhsl(291, 67%, 35%)
HSVhsv(291, 80%, 59%)
CMYKcmyk(12.6%, 80.1%, 0%, 40.8%)
CIE-LABlab(34.13, 57.49, -43.73)
CIE-LCHlch(34.13, 72.23, 322.74°)
OKLaboklab(45.77% 0.1495 -0.1227)
OKLCHoklch(45.77% 0.193 320.6)
XYZxyz(15.5652, 8.0693, 30.0098)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E97 #31971E
analogous
#481E97 #841E97 #971E6D
triadic
#841E97 #97841E #1E9784
tetradic
#841E97 #97481E #31971E #1E6D97
square
#841E97 #97481E #31971E #1E6D97
split-complementary
#841E97 #6D971E #1E9748
monochromatic
#2B0A31 #571464 #841E97 #B128CA #C753DD

Accessibility & contrast

On white

8.03
#841E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E97
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E97#FFFFFF#000000##FFFFFF
##841E971.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#2C5494
Tritanopia (blue-blind)
#85385B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841e97;
/* rgb */ color: rgb(132, 30, 151);
/* oklch */ color: oklch(45.8% 0.193 320.6);
Tailwind
colors: {
  custom: {
    50: '#ac67b6',
    500: '#841e97',
    950: '#000000',
  },
}
SCSS
$custom: #841e97;
$custom-light: #ac67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#841e97",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 290.579,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.19342,
    "h": 320.6
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#841E97
secondary
#62C051
accent
#EA3E59
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841E97

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

Preview Lab → · Contrast checker → · Palette generator →

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