#842EAE#842EAE

#842EAE is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.197 H 312.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#842EAE
RGBrgb(132, 46, 174)
HSLhsl(280, 58%, 43%)
HSVhsv(280, 74%, 68%)
CMYKcmyk(24.1%, 73.6%, 0%, 31.8%)
CIE-LABlab(37.69, 56.40, -51.85)
CIE-LCHlch(37.69, 76.61, 317.41°)
OKLaboklab(48.8% 0.1319 -0.1466)
OKLCHoklch(48.8% 0.197 312)
XYZxyz(18.1313, 9.9160, 40.9951)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842EAE #58AE2E
analogous
#442EAE #842EAE #AE2E98
triadic
#842EAE #AE842E #2EAE84
tetradic
#842EAE #AE442E #58AE2E #2E98AE
square
#842EAE #AE442E #58AE2E #2E98AE
split-complementary
#842EAE #98AE2E #2EAE44
monochromatic
#3B144D #5F217E #842EAE #A34ACF #BC7ADC

Accessibility & contrast

On white

7.04
#842EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#842EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842EAE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842EAE#FFFFFF#000000##FFFFFF
##842EAE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#7F4B6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #842eae;
/* rgb */ color: rgb(132, 46, 174);
/* oklch */ color: oklch(48.8% 0.197 312.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fc7',
    500: '#842eae',
    950: '#000000',
  },
}
SCSS
$custom: #842eae;
$custom-light: #ac6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#842eae",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 280.313,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48795,
    "c": 0.19719,
    "h": 312
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#842EAE
secondary
#8EC474
accent
#E14679
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #842EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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