#842694#842694

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

Color values

HEX#842694
RGBrgb(132, 38, 148)
HSLhsl(291, 59%, 36%)
HSVhsv(291, 74%, 58%)
CMYKcmyk(10.8%, 74.3%, 0%, 42%)
CIE-LABlab(34.86, 54.24, -40.71)
CIE-LCHlch(34.86, 67.82, 323.11°)
OKLaboklab(46.23% 0.1427 -0.1139)
OKLCHoklch(46.23% 0.183 321.4)
XYZxyz(15.5535, 8.4307, 28.8193)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842694 #369426
analogous
#4D2694 #842694 #94266D
triadic
#842694 #948426 #269484
tetradic
#842694 #944D26 #369426 #266D94
square
#842694 #944D26 #369426 #266D94
split-complementary
#842694 #6D9426 #26944D
monochromatic
#2D0D33 #591963 #842694 #AF33C5 #C45FD6

Accessibility & contrast

On white

7.82
#842694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#842694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842694
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842694#FFFFFF#000000##FFFFFF
##8426941.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842694;
/* rgb */ color: rgb(132, 38, 148);
/* oklch */ color: oklch(46.2% 0.183 321.4);
Tailwind
colors: {
  custom: {
    50: '#ab6ab4',
    500: '#842694',
    950: '#000000',
  },
}
SCSS
$custom: #842694;
$custom-light: #ab6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#842694",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 291.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4623,
    "c": 0.18257,
    "h": 321.4
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#842694
secondary
#69BB5B
accent
#E2455C
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842694

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

Preview Lab → · Contrast checker → · Palette generator →

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