#842E92#842E92

#842E92 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 321.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#842E92
RGBrgb(132, 46, 146)
HSLhsl(292, 52%, 38%)
HSVhsv(292, 68%, 57%)
CMYKcmyk(9.6%, 68.5%, 0%, 42.7%)
CIE-LABlab(35.86, 50.69, -37.90)
CIE-LCHlch(35.86, 63.29, 323.22°)
OKLaboklab(46.9% 0.1342 -0.1057)
OKLCHoklch(46.9% 0.171 321.8)
XYZxyz(15.6805, 8.9357, 28.0874)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E92 #3C922E
analogous
#522E92 #842E92 #922E6E
triadic
#842E92 #92842E #2E9284
tetradic
#842E92 #92522E #3C922E #2E6E92
square
#842E92 #92522E #3C922E #2E6E92
split-complementary
#842E92 #6E922E #2E9252
monochromatic
#301135 #5A1F63 #842E92 #AE3DC1 #C26AD0

Accessibility & contrast

On white

7.53
#842E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#842E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E92
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E92#FFFFFF#000000##FFFFFF
##842E921.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104E95
Deuteranopia (green-blind)
#3A5890
Tritanopia (blue-blind)
#853F5C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #842e92;
/* rgb */ color: rgb(132, 46, 146);
/* oklch */ color: oklch(46.9% 0.171 321.8);
Tailwind
colors: {
  custom: {
    50: '#ab6eb2',
    500: '#842e92',
    950: '#000000',
  },
}
SCSS
$custom: #842e92;
$custom-light: #ab6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#842e92",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 291.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.17088,
    "h": 321.8
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#842E92
secondary
#70B765
accent
#DC4C60
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #842E92

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

Preview Lab → · Contrast checker → · Palette generator →

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