#842696#842696

#842696 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.184 H 320.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#842696
RGBrgb(132, 38, 150)
HSLhsl(290, 60%, 37%)
HSVhsv(290, 75%, 59%)
CMYKcmyk(12%, 74.7%, 0%, 41.2%)
CIE-LABlab(34.99, 54.62, -41.73)
CIE-LCHlch(34.99, 68.74, 322.62°)
OKLaboklab(46.36% 0.1425 -0.1169)
OKLCHoklch(46.36% 0.184 320.6)
XYZxyz(15.7132, 8.4946, 29.6602)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842696 #389626
analogous
#4C2696 #842696 #962670
triadic
#842696 #968426 #269684
tetradic
#842696 #964C26 #389626 #267096
square
#842696 #964C26 #389626 #267096
split-complementary
#842696 #709626 #26964C
monochromatic
#2E0D34 #591A65 #842696 #AF32C7 #C460D7

Accessibility & contrast

On white

7.78
#842696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#842696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842696
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842696#FFFFFF#000000##FFFFFF
##8426961.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#325693
Tritanopia (blue-blind)
#853C5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842696;
/* rgb */ color: rgb(132, 38, 150);
/* oklch */ color: oklch(46.4% 0.184 320.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ab5',
    500: '#842696',
    950: '#000000',
  },
}
SCSS
$custom: #842696;
$custom-light: #ab6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#842696",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 290.357,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46362,
    "c": 0.18432,
    "h": 320.6
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#842696
secondary
#6BBC5C
accent
#E3455E
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842696

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

Preview Lab → · Contrast checker → · Palette generator →

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