#842691#842691

#842691 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.180 H 322.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#842691
RGBrgb(132, 38, 145)
HSLhsl(293, 58%, 36%)
HSVhsv(293, 74%, 57%)
CMYKcmyk(9%, 73.8%, 0%, 43.1%)
CIE-LABlab(34.68, 53.68, -39.18)
CIE-LCHlch(34.68, 66.46, 323.87°)
OKLaboklab(46.03% 0.1429 -0.1094)
OKLCHoklch(46.03% 0.18 322.6)
XYZxyz(15.3192, 8.3370, 27.5849)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842691 #339126
analogous
#4E2691 #842691 #912668
triadic
#842691 #918426 #269184
tetradic
#842691 #914E26 #339126 #266891
square
#842691 #914E26 #339126 #266891
split-complementary
#842691 #689126 #26914E
monochromatic
#2C0D30 #581961 #842691 #B033C1 #C65DD5

Accessibility & contrast

On white

7.87
#842691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842691
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842691#FFFFFF#000000##FFFFFF
##8426911.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#863A59
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842691;
/* rgb */ color: rgb(132, 38, 145);
/* oklch */ color: oklch(46.0% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ab2',
    500: '#842691',
    950: '#000000',
  },
}
SCSS
$custom: #842691;
$custom-light: #ab6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#842691",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 292.71,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46034,
    "c": 0.17996,
    "h": 322.6
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#842691
secondary
#65BA59
accent
#E24659
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842691

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

Preview Lab → · Contrast checker → · Palette generator →

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