#842196#842196

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

Color values

HEX#842196
RGBrgb(132, 33, 150)
HSLhsl(291, 64%, 36%)
HSVhsv(291, 78%, 59%)
CMYKcmyk(12%, 78%, 0%, 41.2%)
CIE-LABlab(34.39, 56.36, -42.70)
CIE-LCHlch(34.39, 70.71, 322.85°)
OKLaboklab(45.93% 0.1471 -0.1197)
OKLCHoklch(45.93% 0.19 320.9)
XYZxyz(15.5640, 8.1961, 29.6105)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842196 #339621
analogous
#492196 #842196 #96216D
triadic
#842196 #968421 #219684
tetradic
#842196 #964921 #339621 #216D96
square
#842196 #964921 #339621 #216D96
split-complementary
#842196 #6D9621 #219649
monochromatic
#2C0B32 #581664 #842196 #B02CC8 #C657DA

Accessibility & contrast

On white

7.96
#842196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#842196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842196
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842196#FFFFFF#000000##FFFFFF
##8421961.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842196;
/* rgb */ color: rgb(132, 33, 150);
/* oklch */ color: oklch(45.9% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#ac68b5',
    500: '#842196',
    950: '#000000',
  },
}
SCSS
$custom: #842196;
$custom-light: #ac68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#842196",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 290.769,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.18967,
    "h": 320.9
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#842196
secondary
#65BE55
accent
#E7415A
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842196

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

Preview Lab → · Contrast checker → · Palette generator →

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