#842096#842096

#842096 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.191 H 320.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#842096
RGBrgb(132, 32, 150)
HSLhsl(291, 65%, 36%)
HSVhsv(291, 79%, 59%)
CMYKcmyk(12%, 78.7%, 0%, 41.2%)
CIE-LABlab(34.28, 56.68, -42.88)
CIE-LCHlch(34.28, 71.07, 322.89°)
OKLaboklab(45.85% 0.148 -0.1202)
OKLCHoklch(45.85% 0.191 320.9)
XYZxyz(15.5366, 8.1414, 29.6013)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842096 #329620
analogous
#492096 #842096 #96206D
triadic
#842096 #968420 #209684
tetradic
#842096 #964920 #329620 #206D96
square
#842096 #964920 #329620 #206D96
split-complementary
#842096 #6D9620 #209649
monochromatic
#2B0A31 #581564 #842096 #B02BC8 #C756DB

Accessibility & contrast

On white

7.99
#842096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#842096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842096
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842096#FFFFFF#000000##FFFFFF
##8420961.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#85395B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842096;
/* rgb */ color: rgb(132, 32, 150);
/* oklch */ color: oklch(45.9% 0.191 320.9);
Tailwind
colors: {
  custom: {
    50: '#ac68b5',
    500: '#842096',
    950: '#000000',
  },
}
SCSS
$custom: #842096;
$custom-light: #ac68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#842096",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 290.847,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.19067,
    "h": 320.9
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#842096
secondary
#64BE53
accent
#E8405A
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842096

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

Preview Lab → · Contrast checker → · Palette generator →

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