#841D8E#841D8E

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

Color values

HEX#841D8E
RGBrgb(132, 29, 142)
HSLhsl(295, 66%, 34%)
HSVhsv(295, 80%, 56%)
CMYKcmyk(7%, 79.6%, 0%, 44.3%)
CIE-LABlab(33.43, 56.15, -39.33)
CIE-LCHlch(33.43, 68.55, 325.00°)
OKLaboklab(45.09% 0.1513 -0.1098)
OKLCHoklch(45.09% 0.187 324)
XYZxyz(14.8372, 7.7382, 26.2981)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D8E #278E1D
analogous
#4B1D8E #841D8E #8E1D5F
triadic
#841D8E #8E841D #1D8E84
tetradic
#841D8E #8E4B1D #278E1D #1D5F8E
square
#841D8E #8E4B1D #278E1D #1D5F8E
split-complementary
#841D8E #5F8E1D #1D8E4B
monochromatic
#260828 #55135B #841D8E #B327C1 #CE4BDA

Accessibility & contrast

On white

8.24
#841D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841D8E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D8E#FFFFFF#000000##FFFFFF
##841D8E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841d8e;
/* rgb */ color: rgb(132, 29, 142);
/* oklch */ color: oklch(45.1% 0.187 324.0);
Tailwind
colors: {
  custom: {
    50: '#ab66b0',
    500: '#841d8e',
    950: '#000000',
  },
}
SCSS
$custom: #841d8e;
$custom-light: #ab66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841d8e",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 294.69,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.18695,
    "h": 324
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#841D8E
secondary
#54BD4A
accent
#E93F4E
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #841D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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