#842090#842090

#842090 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.186 H 323.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#842090
RGBrgb(132, 32, 144)
HSLhsl(294, 64%, 35%)
HSVhsv(294, 78%, 56%)
CMYKcmyk(8.3%, 77.8%, 0%, 43.5%)
CIE-LABlab(33.88, 55.57, -39.83)
CIE-LCHlch(33.88, 68.37, 324.37°)
OKLaboklab(45.45% 0.1486 -0.1113)
OKLCHoklch(45.45% 0.186 323.2)
XYZxyz(15.0658, 7.9531, 27.1217)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842090 #2C9020
analogous
#4C2090 #842090 #902064
triadic
#842090 #908420 #209084
tetradic
#842090 #904C20 #2C9020 #206490
square
#842090 #904C20 #2C9020 #206490
split-complementary
#842090 #649020 #20904C
monochromatic
#280A2C #56155E #842090 #B22BC2 #CA52D9

Accessibility & contrast

On white

8.11
#842090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#842090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842090
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842090#FFFFFF#000000##FFFFFF
##8420901.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#863657
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842090;
/* rgb */ color: rgb(132, 32, 144);
/* oklch */ color: oklch(45.5% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#ab68b1',
    500: '#842090',
    950: '#000000',
  },
}
SCSS
$custom: #842090;
$custom-light: #ab68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#842090",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 293.571,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.18564,
    "h": 323.2
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#842090
secondary
#5CBC50
accent
#E74153
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #842090

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

Preview Lab → · Contrast checker → · Palette generator →

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