#842086#842086

#842086 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 327.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#842086
RGBrgb(132, 32, 134)
HSLhsl(299, 61%, 33%)
HSVhsv(299, 76%, 53%)
CMYKcmyk(1.5%, 76.1%, 0%, 47.5%)
CIE-LABlab(33.27, 53.79, -34.64)
CIE-LCHlch(33.27, 63.98, 327.22°)
OKLaboklab(44.81% 0.1491 -0.0961)
OKLCHoklch(44.81% 0.177 327.2)
XYZxyz(14.3351, 7.6608, 23.2733)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842086 #228620
analogous
#512086 #842086 #862055
triadic
#842086 #868420 #208684
tetradic
#842086 #865120 #228620 #205586
square
#842086 #865120 #228620 #205586
split-complementary
#842086 #558620 #208651
monochromatic
#230823 #531455 #842086 #B52CB7 #D24CD4

Accessibility & contrast

On white

8.29
#842086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#842086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842086
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842086#FFFFFF#000000##FFFFFF
##8420861.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054689
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#883152
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842086;
/* rgb */ color: rgb(132, 32, 134);
/* oklch */ color: oklch(44.8% 0.177 327.2);
Tailwind
colors: {
  custom: {
    50: '#ab67aa',
    500: '#842086',
    950: '#000000',
  },
}
SCSS
$custom: #842086;
$custom-light: #ab67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#842086",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 298.824,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.17742,
    "h": 327.2
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#842086
secondary
#4DB74B
accent
#E54346
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842086

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

Preview Lab → · Contrast checker → · Palette generator →

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