#841E9C#841E9C

#841E9C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.198 H 318.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#841E9C
RGBrgb(132, 30, 156)
HSLhsl(289, 68%, 36%)
HSVhsv(289, 81%, 61%)
CMYKcmyk(15.4%, 80.8%, 0%, 38.8%)
CIE-LABlab(34.47, 58.43, -46.23)
CIE-LCHlch(34.47, 74.50, 321.65°)
OKLaboklab(46.12% 0.1488 -0.13)
OKLCHoklch(46.12% 0.198 318.9)
XYZxyz(15.9799, 8.2352, 32.1939)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E9C #369C1E
analogous
#451E9C #841E9C #9C1E75
triadic
#841E9C #9C841E #1E9C84
tetradic
#841E9C #9C451E #369C1E #1E759C
square
#841E9C #9C451E #369C1E #1E759C
split-complementary
#841E9C #759C1E #1E9C45
monochromatic
#2D0A35 #591469 #841E9C #AF28CF #C456DE

Accessibility & contrast

On white

7.93
#841E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E9C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E9C#FFFFFF#000000##FFFFFF
##841E9C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#275499
Tritanopia (blue-blind)
#843B5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841e9c;
/* rgb */ color: rgb(132, 30, 156);
/* oklch */ color: oklch(46.1% 0.198 318.9);
Tailwind
colors: {
  custom: {
    50: '#ac67ba',
    500: '#841e9c',
    950: '#000000',
  },
}
SCSS
$custom: #841e9c;
$custom-light: #ac67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#841e9c",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 288.571,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.19762,
    "h": 318.9
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#841E9C
secondary
#69C254
accent
#EB3D5E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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