#811987#811987

#811987 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.184 H 325.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#811987
RGBrgb(129, 25, 135)
HSLhsl(297, 69%, 31%)
HSVhsv(297, 81%, 53%)
CMYKcmyk(4.4%, 81.5%, 0%, 47.1%)
CIE-LABlab(32.06, 55.47, -37.21)
CIE-LCHlch(32.06, 66.79, 326.14°)
OKLaboklab(43.88% 0.1516 -0.1037)
OKLCHoklch(43.88% 0.184 325.6)
XYZxyz(13.7738, 7.1126, 23.5644)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811987 #1F8719
analogous
#4A1987 #811987 #871956
triadic
#811987 #878119 #198781
tetradic
#811987 #874A19 #1F8719 #195687
square
#811987 #874A19 #1F8719 #195687
split-complementary
#811987 #568719 #19874A
monochromatic
#1E0620 #500F53 #811987 #B223BB #D33FDB

Accessibility & contrast

On white

8.67
#811987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#811987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811987
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811987#FFFFFF#000000##FFFFFF
##8119871.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#842E51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811987;
/* rgb */ color: rgb(129, 25, 135);
/* oklch */ color: oklch(43.9% 0.184 325.6);
Tailwind
colors: {
  custom: {
    50: '#a964aa',
    500: '#811987',
    950: '#000000',
  },
}
SCSS
$custom: #811987;
$custom-light: #a964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811987",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 296.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.18369,
    "h": 325.6
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#811987
secondary
#48BA41
accent
#EC3C46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811987

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

Preview Lab → · Contrast checker → · Palette generator →

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