#811876#811876

#811876 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.172 H 333.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#811876
RGBrgb(129, 24, 118)
HSLhsl(306, 69%, 30%)
HSVhsv(306, 81%, 51%)
CMYKcmyk(0%, 81.4%, 8.5%, 49.4%)
CIE-LABlab(30.95, 52.92, -28.31)
CIE-LCHlch(30.95, 60.02, 331.86°)
OKLaboklab(42.76% 0.1528 -0.0778)
OKLCHoklch(42.76% 0.172 333)
XYZxyz(12.6500, 6.6295, 17.7494)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811876 #188123
analogous
#581881 #811876 #811841
triadic
#811876 #768118 #187681
tetradic
#811876 #815818 #188123 #184181
square
#811876 #815818 #188123 #184181
split-complementary
#811876 #418118 #188158
monochromatic
#1A0518 #4D0E47 #811876 #B522A5 #DA39C9

Accessibility & contrast

On white

9.03
#811876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#811876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811876
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811876#FFFFFF#000000##FFFFFF
##8118761.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F78
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#872447
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811876;
/* rgb */ color: rgb(129, 24, 118);
/* oklch */ color: oklch(42.8% 0.172 333.0);
Tailwind
colors: {
  custom: {
    50: '#a9639e',
    500: '#811876',
    950: '#000000',
  },
}
SCSS
$custom: #811876;
$custom-light: #a9639e;
$custom-dark: #000000;
JSON
{
  "hex": "#811876",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 306.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.17151,
    "h": 333
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#811876
secondary
#40B54C
accent
#EB4F3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811876

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

Preview Lab → · Contrast checker → · Palette generator →

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