#841D9C#841D9C

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

Color values

HEX#841D9C
RGBrgb(132, 29, 156)
HSLhsl(289, 69%, 36%)
HSVhsv(289, 81%, 61%)
CMYKcmyk(15.4%, 81.4%, 0%, 38.8%)
CIE-LABlab(34.37, 58.72, -46.39)
CIE-LCHlch(34.37, 74.84, 321.69°)
OKLaboklab(46.05% 0.1496 -0.1305)
OKLCHoklch(46.05% 0.199 318.9)
XYZxyz(15.9550, 8.1854, 32.1856)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D9C #359C1D
analogous
#441D9C #841D9C #9C1D75
triadic
#841D9C #9C841D #1D9C84
tetradic
#841D9C #9C441D #359C1D #1D759C
square
#841D9C #9C441D #359C1D #1D759C
split-complementary
#841D9C #759C1D #1D9C44
monochromatic
#2D0A35 #581368 #841D9C #B027D0 #C554DF

Accessibility & contrast

On white

7.96
#841D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#841D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D9C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D9C#FFFFFF#000000##FFFFFF
##841D9C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#265499
Tritanopia (blue-blind)
#843A5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841d9c;
/* rgb */ color: rgb(132, 29, 156);
/* oklch */ color: oklch(46.0% 0.199 318.9);
Tailwind
colors: {
  custom: {
    50: '#ac67ba',
    500: '#841d9c',
    950: '#000000',
  },
}
SCSS
$custom: #841d9c;
$custom-light: #ac67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#841d9c",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 288.661,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.19851,
    "h": 318.9
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#841D9C
secondary
#68C252
accent
#EB3C5D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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