#842487#842487

#842487 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 326.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#842487
RGBrgb(132, 36, 135)
HSLhsl(298, 58%, 34%)
HSVhsv(298, 73%, 53%)
CMYKcmyk(2.2%, 73.3%, 0%, 47.1%)
CIE-LABlab(33.81, 52.58, -34.39)
CIE-LCHlch(33.81, 62.83, 326.81°)
OKLaboklab(45.22% 0.1452 -0.0955)
OKLCHoklch(45.22% 0.174 326.7)
XYZxyz(14.5195, 7.9175, 23.6805)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842487 #278724
analogous
#522487 #842487 #872458
triadic
#842487 #878424 #248784
tetradic
#842487 #875224 #278724 #245887
square
#842487 #875224 #278724 #245887
split-complementary
#842487 #588724 #248752
monochromatic
#260A26 #551757 #842487 #B331B7 #CE54D1

Accessibility & contrast

On white

8.13
#842487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#842487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842487
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842487#FFFFFF#000000##FFFFFF
##8424871.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488A
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#883453
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842487;
/* rgb */ color: rgb(132, 36, 135);
/* oklch */ color: oklch(45.2% 0.174 326.7);
Tailwind
colors: {
  custom: {
    50: '#ab69aa',
    500: '#842487',
    950: '#000000',
  },
}
SCSS
$custom: #842487;
$custom-light: #ab69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#842487",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 298.182,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.17377,
    "h": 326.7
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#842487
secondary
#54B551
accent
#E1474B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842487

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

Preview Lab → · Contrast checker → · Palette generator →

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