#842991#842991

#842991 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.176 H 322.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#842991
RGBrgb(132, 41, 145)
HSLhsl(293, 56%, 36%)
HSVhsv(293, 72%, 57%)
CMYKcmyk(9%, 71.7%, 0%, 43.1%)
CIE-LABlab(35.08, 52.54, -38.54)
CIE-LCHlch(35.08, 65.16, 323.74°)
OKLaboklab(46.32% 0.1398 -0.1076)
OKLCHoklch(46.32% 0.176 322.4)
XYZxyz(15.4190, 8.5366, 27.6181)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842991 #369129
analogous
#502991 #842991 #91296A
triadic
#842991 #918429 #299184
tetradic
#842991 #915029 #369129 #296A91
square
#842991 #915029 #369129 #296A91
split-complementary
#842991 #6A9129 #299150
monochromatic
#2D0E32 #591C61 #842991 #AF36C1 #C462D3

Accessibility & contrast

On white

7.76
#842991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#842991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842991
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842991#FFFFFF#000000##FFFFFF
##8429911.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C94
Deuteranopia (green-blind)
#38568E
Tritanopia (blue-blind)
#863B5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842991;
/* rgb */ color: rgb(132, 41, 145);
/* oklch */ color: oklch(46.3% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#ab6cb2',
    500: '#842991',
    950: '#000000',
  },
}
SCSS
$custom: #842991;
$custom-light: #ab6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#842991",
  "rgb": {
    "r": 132,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 292.5,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.17638,
    "h": 322.4
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#842991
secondary
#69B85D
accent
#DF495B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842991

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

Preview Lab → · Contrast checker → · Palette generator →

#842991 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva