#842490#842490

#842490 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.181 H 323.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#842490
RGBrgb(132, 36, 144)
HSLhsl(293, 60%, 35%)
HSVhsv(293, 75%, 56%)
CMYKcmyk(8.3%, 75%, 0%, 43.5%)
CIE-LABlab(34.36, 54.22, -39.07)
CIE-LCHlch(34.36, 66.83, 324.22°)
OKLaboklab(45.79% 0.1449 -0.1091)
OKLCHoklch(45.79% 0.181 323)
XYZxyz(15.1802, 8.1818, 27.1598)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842490 #309024
analogous
#4E2490 #842490 #902466
triadic
#842490 #908424 #249084
tetradic
#842490 #904E24 #309024 #246690
square
#842490 #904E24 #309024 #246690
split-complementary
#842490 #669024 #24904E
monochromatic
#2A0C2E #57185F #842490 #B130C1 #C859D5

Accessibility & contrast

On white

7.97
#842490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842490
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842490#FFFFFF#000000##FFFFFF
##8424901.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#36548D
Tritanopia (blue-blind)
#863858
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842490;
/* rgb */ color: rgb(132, 36, 144);
/* oklch */ color: oklch(45.8% 0.181 323.0);
Tailwind
colors: {
  custom: {
    50: '#ab69b1',
    500: '#842490',
    950: '#000000',
  },
}
SCSS
$custom: #842490;
$custom-light: #ab69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#842490",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 293.333,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.18137,
    "h": 323
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#842490
secondary
#61BA56
accent
#E34556
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842490

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

Preview Lab → · Contrast checker → · Palette generator →

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