#842291#842291

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

Color values

HEX#842291
RGBrgb(132, 34, 145)
HSLhsl(293, 62%, 35%)
HSVhsv(293, 77%, 57%)
CMYKcmyk(9%, 76.6%, 0%, 43.1%)
CIE-LABlab(34.18, 55.09, -39.97)
CIE-LCHlch(34.18, 68.07, 324.04°)
OKLaboklab(45.68% 0.1467 -0.1117)
OKLCHoklch(45.68% 0.184 322.7)
XYZxyz(15.1981, 8.0948, 27.5445)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842291 #2F9122
analogous
#4D2291 #842291 #912266
triadic
#842291 #918422 #229184
tetradic
#842291 #914D22 #2F9122 #226691
square
#842291 #914D22 #2F9122 #226691
split-complementary
#842291 #669122 #22914D
monochromatic
#2A0B2E #57165F #842291 #B12EC3 #C856D7

Accessibility & contrast

On white

8.02
#842291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#842291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842291
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842291#FFFFFF#000000##FFFFFF
##8422911.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#863758
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842291;
/* rgb */ color: rgb(132, 34, 145);
/* oklch */ color: oklch(45.7% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#ab69b2',
    500: '#842291',
    950: '#000000',
  },
}
SCSS
$custom: #842291;
$custom-light: #ab69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#842291",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 292.973,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.1844,
    "h": 322.7
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#842291
secondary
#60BB53
accent
#E54356
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842291

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

Preview Lab → · Contrast checker → · Palette generator →

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