#842697#842697

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

Color values

HEX#842697
RGBrgb(132, 38, 151)
HSLhsl(290, 60%, 37%)
HSVhsv(290, 75%, 59%)
CMYKcmyk(12.6%, 74.8%, 0%, 40.8%)
CIE-LABlab(35.06, 54.81, -42.24)
CIE-LCHlch(35.06, 69.20, 322.38°)
OKLaboklab(46.43% 0.1424 -0.1184)
OKLCHoklch(46.43% 0.185 320.3)
XYZxyz(15.7941, 8.5269, 30.0861)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842697 #399726
analogous
#4C2697 #842697 #972671
triadic
#842697 #978426 #269784
tetradic
#842697 #974C26 #399726 #267197
square
#842697 #974C26 #399726 #267197
split-complementary
#842697 #719726 #26974C
monochromatic
#2F0D35 #591A66 #842697 #AF32C8 #C360D7

Accessibility & contrast

On white

7.76
#842697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#842697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842697
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842697#FFFFFF#000000##FFFFFF
##8426971.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#315694
Tritanopia (blue-blind)
#853C5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842697;
/* rgb */ color: rgb(132, 38, 151);
/* oklch */ color: oklch(46.4% 0.185 320.3);
Tailwind
colors: {
  custom: {
    50: '#ab6ab6',
    500: '#842697',
    950: '#000000',
  },
}
SCSS
$custom: #842697;
$custom-light: #ab6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#842697",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 289.912,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46429,
    "c": 0.1852,
    "h": 320.3
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#842697
secondary
#6DBC5C
accent
#E3455F
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842697

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

Preview Lab → · Contrast checker → · Palette generator →

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