#841E8E#841E8E

#841E8E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.186 H 324.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#841E8E
RGBrgb(132, 30, 142)
HSLhsl(295, 65%, 34%)
HSVhsv(295, 79%, 56%)
CMYKcmyk(7%, 78.9%, 0%, 44.3%)
CIE-LABlab(33.54, 55.85, -39.16)
CIE-LCHlch(33.54, 68.21, 324.96°)
OKLaboklab(45.16% 0.1505 -0.1093)
OKLCHoklch(45.16% 0.186 324)
XYZxyz(14.8621, 7.7880, 26.3064)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E8E #288E1E
analogous
#4C1E8E #841E8E #8E1E60
triadic
#841E8E #8E841E #1E8E84
tetradic
#841E8E #8E4C1E #288E1E #1E608E
square
#841E8E #8E4C1E #288E1E #1E608E
split-complementary
#841E8E #608E1E #1E8E4C
monochromatic
#260929 #55135B #841E8E #B329C1 #CD4DD9

Accessibility & contrast

On white

8.21
#841E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#841E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E8E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E8E#FFFFFF#000000##FFFFFF
##841E8E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#873456
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841e8e;
/* rgb */ color: rgb(132, 30, 142);
/* oklch */ color: oklch(45.2% 0.186 324.0);
Tailwind
colors: {
  custom: {
    50: '#ab67b0',
    500: '#841e8e',
    950: '#000000',
  },
}
SCSS
$custom: #841e8e;
$custom-light: #ab67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841e8e",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 294.643,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.18599,
    "h": 324
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#841E8E
secondary
#56BC4C
accent
#E8404F
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #841E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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