#842099#842099

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

Color values

HEX#842099
RGBrgb(132, 32, 153)
HSLhsl(290, 65%, 36%)
HSVhsv(290, 79%, 60%)
CMYKcmyk(13.7%, 79.1%, 0%, 40%)
CIE-LABlab(34.48, 57.24, -44.39)
CIE-LCHlch(34.48, 72.44, 322.21°)
OKLaboklab(46.06% 0.1476 -0.1246)
OKLCHoklch(46.06% 0.193 319.8)
XYZxyz(15.7813, 8.2393, 30.8899)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842099 #359920
analogous
#482099 #842099 #992072
triadic
#842099 #998420 #209984
tetradic
#842099 #994820 #359920 #207299
square
#842099 #994820 #359920 #207299
split-complementary
#842099 #729920 #209948
monochromatic
#2D0B34 #581566 #842099 #B02BCC #C557DC

Accessibility & contrast

On white

7.93
#842099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#842099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842099
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842099#FFFFFF#000000##FFFFFF
##8420991.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#843A5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842099;
/* rgb */ color: rgb(132, 32, 153);
/* oklch */ color: oklch(46.1% 0.193 319.8);
Tailwind
colors: {
  custom: {
    50: '#ac68b8',
    500: '#842099',
    950: '#000000',
  },
}
SCSS
$custom: #842099;
$custom-light: #ac68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#842099",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 289.587,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.1932,
    "h": 319.8
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#842099
secondary
#68C055
accent
#E83F5D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842099

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

Preview Lab → · Contrast checker → · Palette generator →

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