#842496#842496

#842496 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.187 H 320.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#842496
RGBrgb(132, 36, 150)
HSLhsl(291, 61%, 36%)
HSVhsv(291, 76%, 59%)
CMYKcmyk(12%, 76%, 0%, 41.2%)
CIE-LABlab(34.74, 55.34, -42.13)
CIE-LCHlch(34.74, 69.55, 322.72°)
OKLaboklab(46.18% 0.1444 -0.118)
OKLCHoklch(46.18% 0.187 320.7)
XYZxyz(15.6510, 8.3701, 29.6395)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842496 #369624
analogous
#4B2496 #842496 #96246F
triadic
#842496 #968424 #249684
tetradic
#842496 #964B24 #369624 #246F96
square
#842496 #964B24 #369624 #246F96
split-complementary
#842496 #6F9624 #24964B
monochromatic
#2D0C33 #591865 #842496 #AF30C7 #C45CD8

Accessibility & contrast

On white

7.85
#842496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842496
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842496#FFFFFF#000000##FFFFFF
##8424961.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#315593
Tritanopia (blue-blind)
#853B5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842496;
/* rgb */ color: rgb(132, 36, 150);
/* oklch */ color: oklch(46.2% 0.187 320.7);
Tailwind
colors: {
  custom: {
    50: '#ab6ab5',
    500: '#842496',
    950: '#000000',
  },
}
SCSS
$custom: #842496;
$custom-light: #ab6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#842496",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 290.526,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.18653,
    "h": 320.7
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#842496
secondary
#69BD59
accent
#E4435D
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842496

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

Preview Lab → · Contrast checker → · Palette generator →

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