#842686#842686

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

Color values

HEX#842686
RGBrgb(132, 38, 134)
HSLhsl(299, 56%, 34%)
HSVhsv(299, 72%, 53%)
CMYKcmyk(1.5%, 71.6%, 0%, 47.5%)
CIE-LABlab(34.01, 51.67, -33.45)
CIE-LCHlch(34.01, 61.55, 327.08°)
OKLaboklab(45.35% 0.1431 -0.0927)
OKLCHoklch(45.35% 0.171 327.1)
XYZxyz(14.5117, 8.0140, 23.3322)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842686 #288626
analogous
#542686 #842686 #862658
triadic
#842686 #868426 #268684
tetradic
#842686 #865426 #288626 #265886
square
#842686 #865426 #288626 #265886
split-complementary
#842686 #588626 #268654
monochromatic
#260B27 #551856 #842686 #B334B6 #CD57CF

Accessibility & contrast

On white

8.07
#842686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#842686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842686
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842686#FFFFFF#000000##FFFFFF
##8426861.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842686;
/* rgb */ color: rgb(132, 38, 134);
/* oklch */ color: oklch(45.3% 0.171 327.1);
Tailwind
colors: {
  custom: {
    50: '#ab6aaa',
    500: '#842686',
    950: '#000000',
  },
}
SCSS
$custom: #842686;
$custom-light: #ab6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#842686",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 298.75,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.17055,
    "h": 327.1
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#842686
secondary
#56B454
accent
#DF494C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842686

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

Preview Lab → · Contrast checker → · Palette generator →

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