#842890#842890

#842890 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.177 H 322.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#842890
RGBrgb(132, 40, 144)
HSLhsl(293, 57%, 36%)
HSVhsv(293, 72%, 56%)
CMYKcmyk(8.3%, 72.2%, 0%, 43.5%)
CIE-LABlab(34.88, 52.74, -38.24)
CIE-LCHlch(34.88, 65.14, 324.05°)
OKLaboklab(46.16% 0.1409 -0.1067)
OKLCHoklch(46.16% 0.177 322.9)
XYZxyz(15.3081, 8.4376, 27.2025)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842890 #349028
analogous
#502890 #842890 #902868
triadic
#842890 #908428 #289084
tetradic
#842890 #905028 #349028 #286890
square
#842890 #905028 #349028 #286890
split-complementary
#842890 #689028 #289050
monochromatic
#2C0D30 #581B60 #842890 #B035C0 #C560D3

Accessibility & contrast

On white

7.81
#842890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#842890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842890
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842890#FFFFFF#000000##FFFFFF
##8428901.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B93
Deuteranopia (green-blind)
#38568D
Tritanopia (blue-blind)
#863A59
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842890;
/* rgb */ color: rgb(132, 40, 144);
/* oklch */ color: oklch(46.2% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#ab6bb1',
    500: '#842890',
    950: '#000000',
  },
}
SCSS
$custom: #842890;
$custom-light: #ab6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#842890",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 293.077,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46159,
    "c": 0.17672,
    "h": 322.9
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#842890
secondary
#66B85C
accent
#E0485A
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842890

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

Preview Lab → · Contrast checker → · Palette generator →

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