#842494#842494

#842494 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.185 H 321.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#842494
RGBrgb(132, 36, 148)
HSLhsl(291, 61%, 36%)
HSVhsv(291, 76%, 58%)
CMYKcmyk(10.8%, 75.7%, 0%, 42%)
CIE-LABlab(34.61, 54.96, -41.12)
CIE-LCHlch(34.61, 68.64, 323.20°)
OKLaboklab(46.05% 0.1446 -0.1151)
OKLCHoklch(46.05% 0.185 321.5)
XYZxyz(15.4913, 8.3063, 28.7985)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842494 #349424
analogous
#4C2494 #842494 #94246C
triadic
#842494 #948424 #249484
tetradic
#842494 #944C24 #349424 #246C94
square
#842494 #944C24 #349424 #246C94
split-complementary
#842494 #6C9424 #24944C
monochromatic
#2C0C32 #581863 #842494 #B030C5 #C55BD7

Accessibility & contrast

On white

7.89
#842494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#842494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842494
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842494#FFFFFF#000000##FFFFFF
##8424941.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#325591
Tritanopia (blue-blind)
#853A5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842494;
/* rgb */ color: rgb(132, 36, 148);
/* oklch */ color: oklch(46.1% 0.185 321.5);
Tailwind
colors: {
  custom: {
    50: '#ab69b4',
    500: '#842494',
    950: '#000000',
  },
}
SCSS
$custom: #842494;
$custom-light: #ab69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#842494",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 291.429,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.18481,
    "h": 321.5
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#842494
secondary
#66BC58
accent
#E4445B
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842494

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

Preview Lab → · Contrast checker → · Palette generator →

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