#842E90#842E90

#842E90 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.169 H 322.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#842E90
RGBrgb(132, 46, 144)
HSLhsl(293, 52%, 37%)
HSVhsv(293, 68%, 56%)
CMYKcmyk(8.3%, 68.1%, 0%, 43.5%)
CIE-LABlab(35.74, 50.31, -36.87)
CIE-LCHlch(35.74, 62.37, 323.76°)
OKLaboklab(46.78% 0.1343 -0.1027)
OKLCHoklch(46.78% 0.169 322.6)
XYZxyz(15.5262, 8.8740, 27.2752)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E90 #3A902E
analogous
#532E90 #842E90 #902E6B
triadic
#842E90 #90842E #2E9084
tetradic
#842E90 #90532E #3A902E #2E6B90
square
#842E90 #90532E #3A902E #2E6B90
split-complementary
#842E90 #6B902E #2E9053
monochromatic
#2F1033 #591F62 #842E90 #AF3DBE #C369CF

Accessibility & contrast

On white

7.57
#842E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#842E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E90
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E90#FFFFFF#000000##FFFFFF
##842E901.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E93
Deuteranopia (green-blind)
#3C578E
Tritanopia (blue-blind)
#863E5B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #842e90;
/* rgb */ color: rgb(132, 46, 144);
/* oklch */ color: oklch(46.8% 0.169 322.6);
Tailwind
colors: {
  custom: {
    50: '#ab6eb1',
    500: '#842e90',
    950: '#000000',
  },
}
SCSS
$custom: #842e90;
$custom-light: #ab6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#842e90",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 292.653,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.16905,
    "h": 322.6
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#842E90
secondary
#6EB664
accent
#DB4D5E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100811
muted
#7F7B80

Preview Lab

Preview with #842E90

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

Preview Lab → · Contrast checker → · Palette generator →

#842E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva