#841F8F#841F8F

#841F8F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.186 H 323.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#841F8F
RGBrgb(132, 31, 143)
HSLhsl(294, 64%, 34%)
HSVhsv(294, 78%, 56%)
CMYKcmyk(7.7%, 78.3%, 0%, 43.9%)
CIE-LABlab(33.71, 55.71, -39.50)
CIE-LCHlch(33.71, 68.29, 324.67°)
OKLaboklab(45.31% 0.1495 -0.1103)
OKLCHoklch(45.31% 0.186 323.6)
XYZxyz(14.9632, 7.8696, 26.7121)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F8F #2A8F1F
analogous
#4C1F8F #841F8F #8F1F62
triadic
#841F8F #8F841F #1F8F84
tetradic
#841F8F #8F4C1F #2A8F1F #1F628F
square
#841F8F #8F4C1F #2A8F1F #1F628F
split-complementary
#841F8F #628F1F #1F8F4C
monochromatic
#27092A #56145D #841F8F #B22AC1 #CB4FD9

Accessibility & contrast

On white

8.16
#841F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#841F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F8F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F8F#FFFFFF#000000##FFFFFF
##841F8F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#863556
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841f8f;
/* rgb */ color: rgb(132, 31, 143);
/* oklch */ color: oklch(45.3% 0.186 323.6);
Tailwind
colors: {
  custom: {
    50: '#ab67b0',
    500: '#841f8f',
    950: '#000000',
  },
}
SCSS
$custom: #841f8f;
$custom-light: #ab67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841f8f",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 294.107,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.18582,
    "h": 323.6
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#841F8F
secondary
#59BC4E
accent
#E74051
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #841F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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