#842392#842392

#842392 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.184 H 322.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#842392
RGBrgb(132, 35, 146)
HSLhsl(292, 61%, 35%)
HSVhsv(292, 76%, 57%)
CMYKcmyk(9.6%, 76%, 0%, 42.7%)
CIE-LABlab(34.36, 54.94, -40.29)
CIE-LCHlch(34.36, 68.13, 323.74°)
OKLaboklab(45.83% 0.1457 -0.1127)
OKLCHoklch(45.83% 0.184 322.3)
XYZxyz(15.3045, 8.1838, 27.9621)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842392 #319223
analogous
#4C2392 #842392 #922369
triadic
#842392 #928423 #239284
tetradic
#842392 #924C23 #319223 #236992
square
#842392 #924C23 #319223 #236992
split-complementary
#842392 #699223 #23924C
monochromatic
#2B0B2F #571761 #842392 #B12FC3 #C758D7

Accessibility & contrast

On white

7.96
#842392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#842392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842392
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842392#FFFFFF#000000##FFFFFF
##8423921.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#33548F
Tritanopia (blue-blind)
#863859
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842392;
/* rgb */ color: rgb(132, 35, 146);
/* oklch */ color: oklch(45.8% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#ab69b2',
    500: '#842392',
    950: '#000000',
  },
}
SCSS
$custom: #842392;
$custom-light: #ab69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#842392",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 292.432,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.18418,
    "h": 322.3
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#842392
secondary
#62BB55
accent
#E44358
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842392

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

Preview Lab → · Contrast checker → · Palette generator →

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