#841EA1#841EA1

#841EA1 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.202 H 317.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#841EA1
RGBrgb(132, 30, 161)
HSLhsl(287, 69%, 37%)
HSVhsv(287, 81%, 63%)
CMYKcmyk(18%, 81.4%, 0%, 36.9%)
CIE-LABlab(34.82, 59.38, -48.69)
CIE-LCHlch(34.82, 76.79, 320.65°)
OKLaboklab(46.48% 0.148 -0.1372)
OKLCHoklch(46.48% 0.202 317.2)
XYZxyz(16.4121, 8.4080, 34.4697)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841EA1 #3BA11E
analogous
#431EA1 #841EA1 #A11E7C
triadic
#841EA1 #A1841E #1EA184
tetradic
#841EA1 #A1431E #3BA11E #1E7CA1
square
#841EA1 #A1431E #3BA11E #1E7CA1
split-complementary
#841EA1 #7CA11E #1EA143
monochromatic
#2F0B3A #5A146D #841EA1 #AE28D5 #C259E0

Accessibility & contrast

On white

7.83
#841EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#841EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841EA1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841EA1#FFFFFF#000000##FFFFFF
##841EA11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#20559E
Tritanopia (blue-blind)
#823D61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841ea1;
/* rgb */ color: rgb(132, 30, 161);
/* oklch */ color: oklch(46.5% 0.202 317.2);
Tailwind
colors: {
  custom: {
    50: '#ac68be',
    500: '#841ea1',
    950: '#000000',
  },
}
SCSS
$custom: #841ea1;
$custom-light: #ac68be;
$custom-dark: #000000;
JSON
{
  "hex": "#841ea1",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 286.718,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.20184,
    "h": 317.2
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#841EA1
secondary
#6FC457
accent
#EB3C63
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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