#842586#842586

#842586 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.172 H 327.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#842586
RGBrgb(132, 37, 134)
HSLhsl(299, 57%, 34%)
HSVhsv(299, 72%, 53%)
CMYKcmyk(1.5%, 72.4%, 0%, 47.5%)
CIE-LABlab(33.88, 52.04, -33.66)
CIE-LCHlch(33.88, 61.98, 327.10°)
OKLaboklab(45.25% 0.1442 -0.0933)
OKLCHoklch(45.25% 0.172 327.1)
XYZxyz(14.4801, 7.9509, 23.3216)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842586 #278625
analogous
#532586 #842586 #862557
triadic
#842586 #868425 #258684
tetradic
#842586 #865325 #278625 #255786
square
#842586 #865325 #278625 #255786
split-complementary
#842586 #578625 #258653
monochromatic
#260B26 #551856 #842586 #B332B6 #CE55D0

Accessibility & contrast

On white

8.11
#842586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#842586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842586
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842586#FFFFFF#000000##FFFFFF
##8425861.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#3D5484
Tritanopia (blue-blind)
#883453
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842586;
/* rgb */ color: rgb(132, 37, 134);
/* oklch */ color: oklch(45.3% 0.172 327.1);
Tailwind
colors: {
  custom: {
    50: '#ab69aa',
    500: '#842586',
    950: '#000000',
  },
}
SCSS
$custom: #842586;
$custom-light: #ab69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#842586",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 298.763,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45252,
    "c": 0.17176,
    "h": 327.1
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#842586
secondary
#54B452
accent
#E0484B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842586

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

Preview Lab → · Contrast checker → · Palette generator →

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