#842199#842199

#842199 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.192 H 319.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#842199
RGBrgb(132, 33, 153)
HSLhsl(290, 65%, 36%)
HSVhsv(290, 78%, 60%)
CMYKcmyk(13.7%, 78.4%, 0%, 40%)
CIE-LABlab(34.59, 56.92, -44.21)
CIE-LCHlch(34.59, 72.07, 322.16°)
OKLaboklab(46.14% 0.1468 -0.1241)
OKLCHoklch(46.14% 0.192 319.8)
XYZxyz(15.8086, 8.2940, 30.8990)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842199 #369921
analogous
#482199 #842199 #992172
triadic
#842199 #998421 #219984
tetradic
#842199 #994821 #369921 #217299
square
#842199 #994821 #369921 #217299
split-complementary
#842199 #729921 #219948
monochromatic
#2D0B34 #591667 #842199 #AF2CCB #C459DB

Accessibility & contrast

On white

7.90
#842199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#842199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842199
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842199#FFFFFF#000000##FFFFFF
##8421991.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#2C5596
Tritanopia (blue-blind)
#843B5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842199;
/* rgb */ color: rgb(132, 33, 153);
/* oklch */ color: oklch(46.1% 0.192 319.8);
Tailwind
colors: {
  custom: {
    50: '#ac68b8',
    500: '#842199',
    950: '#000000',
  },
}
SCSS
$custom: #842199;
$custom-light: #ac68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#842199",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 289.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.19223,
    "h": 319.8
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#842199
secondary
#69BF56
accent
#E8405E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842199

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

Preview Lab → · Contrast checker → · Palette generator →

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