#842990#842990

#842990 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.175 H 322.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#842990
RGBrgb(132, 41, 144)
HSLhsl(293, 56%, 36%)
HSVhsv(293, 72%, 56%)
CMYKcmyk(8.3%, 71.5%, 0%, 43.5%)
CIE-LABlab(35.02, 52.35, -38.02)
CIE-LCHlch(35.02, 64.70, 324.01°)
OKLaboklab(46.26% 0.1398 -0.1061)
OKLCHoklch(46.26% 0.175 322.8)
XYZxyz(15.3422, 8.5059, 27.2138)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842990 #359029
analogous
#512990 #842990 #902969
triadic
#842990 #908429 #299084
tetradic
#842990 #905129 #359029 #296990
square
#842990 #905129 #359029 #296990
split-complementary
#842990 #699029 #299051
monochromatic
#2D0E31 #581B60 #842990 #B037C0 #C561D2

Accessibility & contrast

On white

7.77
#842990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#842990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842990
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842990#FFFFFF#000000##FFFFFF
##8429901.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C93
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#863B5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842990;
/* rgb */ color: rgb(132, 41, 144);
/* oklch */ color: oklch(46.3% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#ab6cb1',
    500: '#842990',
    950: '#000000',
  },
}
SCSS
$custom: #842990;
$custom-light: #ab6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#842990",
  "rgb": {
    "r": 132,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 293.01,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46257,
    "c": 0.17549,
    "h": 322.8
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#842990
secondary
#68B85D
accent
#DF495A
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842990

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

Preview Lab → · Contrast checker → · Palette generator →

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