#841EA8#841EA8

#841EA8 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 314.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#841EA8
RGBrgb(132, 30, 168)
HSLhsl(284, 70%, 39%)
HSVhsv(284, 82%, 66%)
CMYKcmyk(21.4%, 82.1%, 0%, 34.1%)
CIE-LABlab(35.33, 60.74, -52.09)
CIE-LCHlch(35.33, 80.02, 319.39°)
OKLaboklab(46.99% 0.1467 -0.1472)
OKLCHoklch(46.99% 0.208 314.9)
XYZxyz(17.0467, 8.6619, 37.8122)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841EA8 #42A81E
analogous
#3F1EA8 #841EA8 #A81E87
triadic
#841EA8 #A8841E #1EA884
tetradic
#841EA8 #A83F1E #42A81E #1E87A8
square
#841EA8 #A83F1E #42A81E #1E87A8
split-complementary
#841EA8 #87A81E #1EA83F
monochromatic
#320B40 #5B1574 #841EA8 #AB2AD9 #C05EE2

Accessibility & contrast

On white

7.69
#841EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#841EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841EA8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841EA8#FFFFFF#000000##FFFFFF
##841EA81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#1355A5
Tritanopia (blue-blind)
#814065
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841ea8;
/* rgb */ color: rgb(132, 30, 168);
/* oklch */ color: oklch(47.0% 0.208 314.9);
Tailwind
colors: {
  custom: {
    50: '#ac68c3',
    500: '#841ea8',
    950: '#000000',
  },
}
SCSS
$custom: #841ea8;
$custom-light: #ac68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#841ea8",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 284.348,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.2078,
    "h": 314.9
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#841EA8
secondary
#77C75B
accent
#ED3B6A
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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