#841D8F#841D8F

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

Color values

HEX#841D8F
RGBrgb(132, 29, 143)
HSLhsl(294, 66%, 34%)
HSVhsv(294, 80%, 56%)
CMYKcmyk(7.7%, 79.7%, 0%, 43.9%)
CIE-LABlab(33.50, 56.33, -39.84)
CIE-LCHlch(33.50, 69.00, 324.73°)
OKLaboklab(45.16% 0.1512 -0.1113)
OKLCHoklch(45.16% 0.188 323.7)
XYZxyz(14.9126, 7.7684, 26.6953)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D8F #288F1D
analogous
#4B1D8F #841D8F #8F1D61
triadic
#841D8F #8F841D #1D8F84
tetradic
#841D8F #8F4B1D #288F1D #1D618F
square
#841D8F #8F4B1D #288F1D #1D618F
split-complementary
#841D8F #618F1D #1D8F4B
monochromatic
#260829 #55135C #841D8F #B327C2 #CD4CDB

Accessibility & contrast

On white

8.22
#841D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#841D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D8F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D8F#FFFFFF#000000##FFFFFF
##841D8F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.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: #841d8f;
/* rgb */ color: rgb(132, 29, 143);
/* oklch */ color: oklch(45.2% 0.188 323.7);
Tailwind
colors: {
  custom: {
    50: '#ab66b0',
    500: '#841d8f',
    950: '#000000',
  },
}
SCSS
$custom: #841d8f;
$custom-light: #ab66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841d8f",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 294.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.18777,
    "h": 323.7
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#841D8F
secondary
#56BD4B
accent
#E93F4F
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #841D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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