#841EA7#841EA7

#841EA7 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.207 H 315.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#841EA7
RGBrgb(132, 30, 167)
HSLhsl(285, 70%, 39%)
HSVhsv(285, 82%, 65%)
CMYKcmyk(21%, 82%, 0%, 34.5%)
CIE-LABlab(35.25, 60.55, -51.61)
CIE-LCHlch(35.25, 79.55, 319.56°)
OKLaboklab(46.92% 0.1469 -0.1458)
OKLCHoklch(46.92% 0.207 315.2)
XYZxyz(16.9539, 8.6248, 37.3234)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841EA7 #41A71E
analogous
#401EA7 #841EA7 #A71E85
triadic
#841EA7 #A7841E #1EA784
tetradic
#841EA7 #A7401E #41A71E #1E85A7
square
#841EA7 #A7401E #41A71E #1E85A7
split-complementary
#841EA7 #85A71E #1EA740
monochromatic
#320B3F #5B1573 #841EA7 #AC2AD9 #C05DE2

Accessibility & contrast

On white

7.71
#841EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841EA7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841EA7#FFFFFF#000000##FFFFFF
##841EA71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#1655A4
Tritanopia (blue-blind)
#814064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841ea7;
/* rgb */ color: rgb(132, 30, 167);
/* oklch */ color: oklch(46.9% 0.207 315.2);
Tailwind
colors: {
  custom: {
    50: '#ac68c2',
    500: '#841ea7',
    950: '#000000',
  },
}
SCSS
$custom: #841ea7;
$custom-light: #ac68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#841ea7",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 284.672,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.20694,
    "h": 315.2
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#841EA7
secondary
#76C65B
accent
#EC3B69
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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