#842594#842594

#842594 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.184 H 321.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#842594
RGBrgb(132, 37, 148)
HSLhsl(291, 60%, 36%)
HSVhsv(291, 75%, 58%)
CMYKcmyk(10.8%, 75%, 0%, 42%)
CIE-LABlab(34.74, 54.61, -40.92)
CIE-LCHlch(34.74, 68.24, 323.15°)
OKLaboklab(46.14% 0.1437 -0.1145)
OKLCHoklch(46.14% 0.184 321.4)
XYZxyz(15.5220, 8.3676, 28.8088)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842594 #359425
analogous
#4D2594 #842594 #94256D
triadic
#842594 #948425 #259484
tetradic
#842594 #944D25 #359425 #256D94
square
#842594 #944D25 #359425 #256D94
split-complementary
#842594 #6D9425 #25944D
monochromatic
#2D0D32 #581963 #842594 #B031C5 #C55DD6

Accessibility & contrast

On white

7.86
#842594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#842594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842594
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842594#FFFFFF#000000##FFFFFF
##8425941.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#853A5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842594;
/* rgb */ color: rgb(132, 37, 148);
/* oklch */ color: oklch(46.1% 0.184 321.4);
Tailwind
colors: {
  custom: {
    50: '#ab6ab4',
    500: '#842594',
    950: '#000000',
  },
}
SCSS
$custom: #842594;
$custom-light: #ab6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#842594",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 291.351,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.1837,
    "h": 321.4
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#842594
secondary
#68BB59
accent
#E3455B
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842594

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

Preview Lab → · Contrast checker → · Palette generator →

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