#841F97#841F97

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

Color values

HEX#841F97
RGBrgb(132, 31, 151)
HSLhsl(291, 66%, 36%)
HSVhsv(291, 79%, 59%)
CMYKcmyk(12.6%, 79.5%, 0%, 40.8%)
CIE-LABlab(34.23, 57.18, -43.56)
CIE-LCHlch(34.23, 71.88, 322.70°)
OKLaboklab(45.84% 0.1487 -0.1222)
OKLCHoklch(45.84% 0.192 320.6)
XYZxyz(15.5910, 8.1207, 30.0184)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F97 #32971F
analogous
#481F97 #841F97 #971F6E
triadic
#841F97 #97841F #1F9784
tetradic
#841F97 #97481F #32971F #1F6E97
square
#841F97 #97481F #32971F #1F6E97
split-complementary
#841F97 #6E971F #1F9748
monochromatic
#2B0A31 #581564 #841F97 #B029CA #C754DC

Accessibility & contrast

On white

8.00
#841F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#841F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F97
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F97#FFFFFF#000000##FFFFFF
##841F971.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#85395B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841f97;
/* rgb */ color: rgb(132, 31, 151);
/* oklch */ color: oklch(45.8% 0.192 320.6);
Tailwind
colors: {
  custom: {
    50: '#ac68b6',
    500: '#841f97',
    950: '#000000',
  },
}
SCSS
$custom: #841f97;
$custom-light: #ac68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#841f97",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 290.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.19249,
    "h": 320.6
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#841F97
secondary
#64BF52
accent
#E93F5A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841F97

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

Preview Lab → · Contrast checker → · Palette generator →

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