#842292#842292

#842292 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.185 H 322.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#842292
RGBrgb(132, 34, 146)
HSLhsl(293, 62%, 35%)
HSVhsv(293, 77%, 57%)
CMYKcmyk(9.6%, 76.7%, 0%, 42.7%)
CIE-LABlab(34.24, 55.28, -40.48)
CIE-LCHlch(34.24, 68.52, 323.78°)
OKLaboklab(45.75% 0.1466 -0.1132)
OKLCHoklch(45.75% 0.185 322.3)
XYZxyz(15.2755, 8.1258, 27.9524)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842292 #309222
analogous
#4C2292 #842292 #922268
triadic
#842292 #928422 #229284
tetradic
#842292 #924C22 #309222 #226892
square
#842292 #924C22 #309222 #226892
split-complementary
#842292 #689222 #22924C
monochromatic
#2A0B2F #571660 #842292 #B12EC4 #C857D8

Accessibility & contrast

On white

8.00
#842292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#842292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842292
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842292#FFFFFF#000000##FFFFFF
##8422921.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842292;
/* rgb */ color: rgb(132, 34, 146);
/* oklch */ color: oklch(45.7% 0.185 322.3);
Tailwind
colors: {
  custom: {
    50: '#ab69b2',
    500: '#842292',
    950: '#000000',
  },
}
SCSS
$custom: #842292;
$custom-light: #ab69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#842292",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 292.5,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.18525,
    "h": 322.3
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#842292
secondary
#61BC54
accent
#E54357
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842292

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

Preview Lab → · Contrast checker → · Palette generator →

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