#842489#842489

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

Color values

HEX#842489
RGBrgb(132, 36, 137)
HSLhsl(297, 58%, 34%)
HSVhsv(297, 74%, 54%)
CMYKcmyk(3.6%, 73.7%, 0%, 46.3%)
CIE-LABlab(33.93, 52.94, -35.44)
CIE-LCHlch(33.93, 63.71, 326.20°)
OKLaboklab(45.34% 0.1452 -0.0985)
OKLCHoklch(45.34% 0.175 325.8)
XYZxyz(14.6616, 7.9744, 24.4290)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842489 #298924
analogous
#522489 #842489 #89245C
triadic
#842489 #898424 #248984
tetradic
#842489 #895224 #298924 #245C89
square
#842489 #895224 #298924 #245C89
split-complementary
#842489 #5C8924 #248952
monochromatic
#270B28 #551759 #842489 #B331B9 #CC55D2

Accessibility & contrast

On white

8.09
#842489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#842489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842489
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842489#FFFFFF#000000##FFFFFF
##8424891.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#873554
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842489;
/* rgb */ color: rgb(132, 36, 137);
/* oklch */ color: oklch(45.3% 0.175 325.8);
Tailwind
colors: {
  custom: {
    50: '#ab69ac',
    500: '#842489',
    950: '#000000',
  },
}
SCSS
$custom: #842489;
$custom-light: #ab69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#842489",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 297.03,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45344,
    "c": 0.17544,
    "h": 325.8
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#842489
secondary
#57B752
accent
#E2464E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842489

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

Preview Lab → · Contrast checker → · Palette generator →

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