#842891#842891

#842891 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.178 H 322.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#842891
RGBrgb(132, 40, 145)
HSLhsl(293, 57%, 36%)
HSVhsv(293, 72%, 57%)
CMYKcmyk(9%, 72.4%, 0%, 43.1%)
CIE-LABlab(34.94, 52.92, -38.76)
CIE-LCHlch(34.94, 65.60, 323.78°)
OKLaboklab(46.22% 0.1408 -0.1082)
OKLCHoklch(46.22% 0.178 322.5)
XYZxyz(15.3848, 8.4683, 27.6068)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842891 #359128
analogous
#502891 #842891 #91286A
triadic
#842891 #918428 #289184
tetradic
#842891 #915028 #359128 #286A91
square
#842891 #915028 #359128 #286A91
split-complementary
#842891 #6A9128 #289150
monochromatic
#2D0E31 #581B61 #842891 #B035C1 #C560D3

Accessibility & contrast

On white

7.80
#842891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842891
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842891#FFFFFF#000000##FFFFFF
##8428911.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842891;
/* rgb */ color: rgb(132, 40, 145);
/* oklch */ color: oklch(46.2% 0.178 322.5);
Tailwind
colors: {
  custom: {
    50: '#ab6bb2',
    500: '#842891',
    950: '#000000',
  },
}
SCSS
$custom: #842891;
$custom-light: #ab6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#842891",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 292.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.17759,
    "h": 322.5
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#842891
secondary
#68B95C
accent
#E0485B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842891

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

Preview Lab → · Contrast checker → · Palette generator →

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