#841E8F#841E8F

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

Color values

HEX#841E8F
RGBrgb(132, 30, 143)
HSLhsl(294, 65%, 34%)
HSVhsv(294, 79%, 56%)
CMYKcmyk(7.7%, 79%, 0%, 43.9%)
CIE-LABlab(33.60, 56.03, -39.67)
CIE-LCHlch(33.60, 68.65, 324.70°)
OKLaboklab(45.23% 0.1504 -0.1108)
OKLCHoklch(45.23% 0.187 323.6)
XYZxyz(14.9375, 7.8182, 26.7036)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E8F #298F1E
analogous
#4C1E8F #841E8F #8F1E62
triadic
#841E8F #8F841E #1E8F84
tetradic
#841E8F #8F4C1E #298F1E #1E628F
square
#841E8F #8F4C1E #298F1E #1E628F
split-complementary
#841E8F #628F1E #1E8F4C
monochromatic
#27092A #55135C #841E8F #B329C2 #CC4EDA

Accessibility & contrast

On white

8.19
#841E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E8F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E8F#FFFFFF#000000##FFFFFF
##841E8F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841e8f;
/* rgb */ color: rgb(132, 30, 143);
/* oklch */ color: oklch(45.2% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#ab67b0',
    500: '#841e8f',
    950: '#000000',
  },
}
SCSS
$custom: #841e8f;
$custom-light: #ab67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841e8f",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 294.159,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.1868,
    "h": 323.6
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#841E8F
secondary
#57BC4C
accent
#E84050
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #841E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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