#842589#842589

#842589 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.174 H 325.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#842589
RGBrgb(132, 37, 137)
HSLhsl(297, 57%, 34%)
HSVhsv(297, 73%, 54%)
CMYKcmyk(3.6%, 73%, 0%, 46.3%)
CIE-LABlab(34.06, 52.58, -35.24)
CIE-LCHlch(34.06, 63.29, 326.17°)
OKLaboklab(45.44% 0.1442 -0.0979)
OKLCHoklch(45.44% 0.174 325.8)
XYZxyz(14.6923, 8.0358, 24.4393)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842589 #2A8925
analogous
#522589 #842589 #89255C
triadic
#842589 #898425 #258984
tetradic
#842589 #895225 #2A8925 #255C89
square
#842589 #895225 #2A8925 #255C89
split-complementary
#842589 #5C8925 #258952
monochromatic
#270B29 #561859 #842589 #B232B9 #CB57D2

Accessibility & contrast

On white

8.06
#842589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#842589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842589
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842589#FFFFFF#000000##FFFFFF
##8425891.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498C
Deuteranopia (green-blind)
#3B5487
Tritanopia (blue-blind)
#873555
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842589;
/* rgb */ color: rgb(132, 37, 137);
/* oklch */ color: oklch(45.4% 0.174 325.8);
Tailwind
colors: {
  custom: {
    50: '#ab69ac',
    500: '#842589',
    950: '#000000',
  },
}
SCSS
$custom: #842589;
$custom-light: #ab69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#842589",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 297,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.17428,
    "h": 325.8
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#842589
secondary
#59B654
accent
#E1474F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842589

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

Preview Lab → · Contrast checker → · Palette generator →

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