#842492#842492

#842492 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.183 H 322.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#842492
RGBrgb(132, 36, 146)
HSLhsl(292, 60%, 36%)
HSVhsv(292, 75%, 57%)
CMYKcmyk(9.6%, 75.3%, 0%, 42.7%)
CIE-LABlab(34.48, 54.59, -40.10)
CIE-LCHlch(34.48, 67.73, 323.70°)
OKLaboklab(45.92% 0.1448 -0.1121)
OKLCHoklch(45.92% 0.183 322.2)
XYZxyz(15.3344, 8.2435, 27.9720)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842492 #329224
analogous
#4D2492 #842492 #922469
triadic
#842492 #928424 #249284
tetradic
#842492 #924D24 #329224 #246992
square
#842492 #924D24 #329224 #246992
split-complementary
#842492 #699224 #24924D
monochromatic
#2B0C30 #581861 #842492 #B030C3 #C75AD6

Accessibility & contrast

On white

7.93
#842492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#842492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842492
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842492#FFFFFF#000000##FFFFFF
##8424921.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842492;
/* rgb */ color: rgb(132, 36, 146);
/* oklch */ color: oklch(45.9% 0.183 322.2);
Tailwind
colors: {
  custom: {
    50: '#ab69b2',
    500: '#842492',
    950: '#000000',
  },
}
SCSS
$custom: #842492;
$custom-light: #ab69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#842492",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 292.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.18308,
    "h": 322.2
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#842492
secondary
#64BB57
accent
#E44459
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842492

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

Preview Lab → · Contrast checker → · Palette generator →

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