#841C8F#841C8F

#841C8F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.189 H 323.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#841C8F
RGBrgb(132, 28, 143)
HSLhsl(294, 67%, 34%)
HSVhsv(294, 80%, 56%)
CMYKcmyk(7.7%, 80.4%, 0%, 43.9%)
CIE-LABlab(33.39, 56.63, -40.00)
CIE-LCHlch(33.39, 69.33, 324.76°)
OKLaboklab(45.08% 0.152 -0.1118)
OKLCHoklch(45.08% 0.189 323.7)
XYZxyz(14.8885, 7.7202, 26.6872)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C8F #278F1C
analogous
#4A1C8F #841C8F #8F1C60
triadic
#841C8F #8F841C #1C8F84
tetradic
#841C8F #8F4A1C #278F1C #1C608F
square
#841C8F #8F4A1C #278F1C #1C608F
split-complementary
#841C8F #608F1C #1C8F4A
monochromatic
#260829 #55125C #841C8F #B326C2 #CE4ADC

Accessibility & contrast

On white

8.26
#841C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#841C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C8F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C8F#FFFFFF#000000##FFFFFF
##841C8F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#32538C
Tritanopia (blue-blind)
#863356
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841c8f;
/* rgb */ color: rgb(132, 28, 143);
/* oklch */ color: oklch(45.1% 0.189 323.7);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#841c8f',
    950: '#000000',
  },
}
SCSS
$custom: #841c8f;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841c8f",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 294.261,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.1887,
    "h": 323.7
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#841C8F
secondary
#54BE49
accent
#EA3E4E
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #841C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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