#841987#841987

#841987 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.185 H 326.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#841987
RGBrgb(132, 25, 135)
HSLhsl(298, 69%, 31%)
HSVhsv(298, 81%, 53%)
CMYKcmyk(2.2%, 81.5%, 0%, 47.1%)
CIE-LABlab(32.59, 56.08, -36.33)
CIE-LCHlch(32.59, 66.82, 327.06°)
OKLaboklab(44.35% 0.155 -0.101)
OKLCHoklch(44.35% 0.185 326.9)
XYZxyz(14.2363, 7.3511, 23.5861)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841987 #1C8719
analogous
#4D1987 #841987 #871953
triadic
#841987 #878419 #198784
tetradic
#841987 #874D19 #1C8719 #195387
square
#841987 #874D19 #1C8719 #195387
split-complementary
#841987 #538719 #19874D
monochromatic
#1F0620 #520F53 #841987 #B623BB #D73FDB

Accessibility & contrast

On white

8.50
#841987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#841987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841987
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841987#FFFFFF#000000##FFFFFF
##8419871.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#882D51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841987;
/* rgb */ color: rgb(132, 25, 135);
/* oklch */ color: oklch(44.4% 0.185 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab65aa',
    500: '#841987',
    950: '#000000',
  },
}
SCSS
$custom: #841987;
$custom-light: #ab65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#841987",
  "rgb": {
    "r": 132,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 298.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44353,
    "c": 0.18503,
    "h": 326.9
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#841987
secondary
#45BA41
accent
#EC3C41
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841987

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

Preview Lab → · Contrast checker → · Palette generator →

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