#842986#842986

#842986 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 327.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#842986
RGBrgb(132, 41, 134)
HSLhsl(299, 53%, 34%)
HSVhsv(299, 69%, 53%)
CMYKcmyk(1.5%, 69.4%, 0%, 47.5%)
CIE-LABlab(34.42, 50.50, -32.80)
CIE-LCHlch(34.42, 60.22, 327.00°)
OKLaboklab(45.64% 0.1399 -0.0909)
OKLCHoklch(45.64% 0.167 327)
XYZxyz(14.6115, 8.2136, 23.3654)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842986 #2B8629
analogous
#562986 #842986 #86295A
triadic
#842986 #868429 #298684
tetradic
#842986 #865629 #2B8629 #295A86
square
#842986 #865629 #2B8629 #295A86
split-complementary
#842986 #5A8629 #298656
monochromatic
#280C28 #561B57 #842986 #B237B5 #CB5CCD

Accessibility & contrast

On white

7.95
#842986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#842986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842986
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842986#FFFFFF#000000##FFFFFF
##8429861.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194989
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#883754
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842986;
/* rgb */ color: rgb(132, 41, 134);
/* oklch */ color: oklch(45.6% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ba9',
    500: '#842986',
    950: '#000000',
  },
}
SCSS
$custom: #842986;
$custom-light: #ab6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#842986",
  "rgb": {
    "r": 132,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 298.71,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.16679,
    "h": 327
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#842986
secondary
#5AB358
accent
#DD4B4E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842986

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

Preview Lab → · Contrast checker → · Palette generator →

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