#842486#842486

#842486 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.173 H 327.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#842486
RGBrgb(132, 36, 134)
HSLhsl(299, 58%, 33%)
HSVhsv(299, 73%, 53%)
CMYKcmyk(1.5%, 73.1%, 0%, 47.5%)
CIE-LABlab(33.75, 52.41, -33.87)
CIE-LCHlch(33.75, 62.40, 327.13°)
OKLaboklab(45.16% 0.1452 -0.0939)
OKLCHoklch(45.16% 0.173 327.1)
XYZxyz(14.4494, 7.8895, 23.3114)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842486 #268624
analogous
#532486 #842486 #862457
triadic
#842486 #868424 #248684
tetradic
#842486 #865324 #268624 #245786
square
#842486 #865324 #268624 #245786
split-complementary
#842486 #578624 #248653
monochromatic
#250A26 #541756 #842486 #B431B6 #CE53D1

Accessibility & contrast

On white

8.15
#842486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#842486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842486
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842486#FFFFFF#000000##FFFFFF
##8424861.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4889
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#883353
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842486;
/* rgb */ color: rgb(132, 36, 134);
/* oklch */ color: oklch(45.2% 0.173 327.1);
Tailwind
colors: {
  custom: {
    50: '#ab69aa',
    500: '#842486',
    950: '#000000',
  },
}
SCSS
$custom: #842486;
$custom-light: #ab69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#842486",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 298.776,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.17294,
    "h": 327.1
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#842486
secondary
#53B551
accent
#E1474A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842486

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

Preview Lab → · Contrast checker → · Palette generator →

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