#842092#842092

#842092 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.187 H 322.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#842092
RGBrgb(132, 32, 146)
HSLhsl(293, 64%, 35%)
HSVhsv(293, 78%, 57%)
CMYKcmyk(9.6%, 78.1%, 0%, 42.7%)
CIE-LABlab(34.01, 55.94, -40.85)
CIE-LCHlch(34.01, 69.27, 323.86°)
OKLaboklab(45.58% 0.1484 -0.1143)
OKLCHoklch(45.58% 0.187 322.4)
XYZxyz(15.2200, 8.0148, 27.9339)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842092 #2E9220
analogous
#4B2092 #842092 #922067
triadic
#842092 #928420 #209284
tetradic
#842092 #924B20 #2E9220 #206792
square
#842092 #924B20 #2E9220 #206792
split-complementary
#842092 #679220 #20924B
monochromatic
#290A2E #571560 #842092 #B12BC4 #C953D9

Accessibility & contrast

On white

8.07
#842092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#842092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842092
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842092#FFFFFF#000000##FFFFFF
##8420921.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#32548F
Tritanopia (blue-blind)
#863758
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842092;
/* rgb */ color: rgb(132, 32, 146);
/* oklch */ color: oklch(45.6% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#ab68b2',
    500: '#842092',
    950: '#000000',
  },
}
SCSS
$custom: #842092;
$custom-light: #ab68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#842092",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 292.632,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.1873,
    "h": 322.4
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#842092
secondary
#5EBD51
accent
#E74155
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842092

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

Preview Lab → · Contrast checker → · Palette generator →

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