#841E9D#841E9D

#841E9D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.198 H 318.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#841E9D
RGBrgb(132, 30, 157)
HSLhsl(288, 68%, 37%)
HSVhsv(288, 81%, 62%)
CMYKcmyk(15.9%, 80.9%, 0%, 38.4%)
CIE-LABlab(34.54, 58.62, -46.72)
CIE-LCHlch(34.54, 74.96, 321.44°)
OKLaboklab(46.19% 0.1487 -0.1314)
OKLCHoklch(46.19% 0.198 318.5)
XYZxyz(16.0650, 8.2692, 32.6417)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E9D #379D1E
analogous
#451E9D #841E9D #9D1E77
triadic
#841E9D #9D841E #1E9D84
tetradic
#841E9D #9D451E #379D1E #1E779D
square
#841E9D #9D451E #379D1E #1E779D
split-complementary
#841E9D #779D1E #1E9D45
monochromatic
#2E0A36 #59146A #841E9D #AF28D0 #C457DF

Accessibility & contrast

On white

7.91
#841E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#841E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E9D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E9D#FFFFFF#000000##FFFFFF
##841E9D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#26549A
Tritanopia (blue-blind)
#833B5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841e9d;
/* rgb */ color: rgb(132, 30, 157);
/* oklch */ color: oklch(46.2% 0.198 318.5);
Tailwind
colors: {
  custom: {
    50: '#ac68bb',
    500: '#841e9d',
    950: '#000000',
  },
}
SCSS
$custom: #841e9d;
$custom-light: #ac68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#841e9d",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 288.189,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46189,
    "c": 0.19846,
    "h": 318.5
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#841E9D
secondary
#6AC254
accent
#EB3D5F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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