#841EA6#841EA6

#841EA6 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.206 H 315.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#841EA6
RGBrgb(132, 30, 166)
HSLhsl(285, 69%, 38%)
HSVhsv(285, 82%, 65%)
CMYKcmyk(20.5%, 81.9%, 0%, 34.9%)
CIE-LABlab(35.18, 60.35, -51.12)
CIE-LCHlch(35.18, 79.09, 319.73°)
OKLaboklab(46.84% 0.1471 -0.1444)
OKLCHoklch(46.84% 0.206 315.5)
XYZxyz(16.8618, 8.5879, 36.8384)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841EA6 #40A61E
analogous
#401EA6 #841EA6 #A61E84
triadic
#841EA6 #A6841E #1EA684
tetradic
#841EA6 #A6401E #40A61E #1E84A6
square
#841EA6 #A6401E #40A61E #1E84A6
split-complementary
#841EA6 #84A61E #1EA640
monochromatic
#320B3E #5B1572 #841EA6 #AC29D8 #C05DE2

Accessibility & contrast

On white

7.73
#841EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#841EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841EA6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841EA6#FFFFFF#000000##FFFFFF
##841EA61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#1855A3
Tritanopia (blue-blind)
#813F63
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841ea6;
/* rgb */ color: rgb(132, 30, 166);
/* oklch */ color: oklch(46.8% 0.206 315.5);
Tailwind
colors: {
  custom: {
    50: '#ac68c1',
    500: '#841ea6',
    950: '#000000',
  },
}
SCSS
$custom: #841ea6;
$custom-light: #ac68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#841ea6",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 285,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.20609,
    "h": 315.5
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#841EA6
secondary
#75C65A
accent
#EC3C68
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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