#811778#811778

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

Color values

HEX#811778
RGBrgb(129, 23, 120)
HSLhsl(305, 70%, 30%)
HSVhsv(305, 82%, 51%)
CMYKcmyk(0%, 82.2%, 7%, 49.4%)
CIE-LABlab(30.97, 53.51, -29.55)
CIE-LCHlch(30.97, 61.13, 331.09°)
OKLaboklab(42.81% 0.1537 -0.0814)
OKLCHoklch(42.81% 0.174 332.1)
XYZxyz(12.7499, 6.6371, 18.3752)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811778 #178120
analogous
#551781 #811778 #811743
triadic
#811778 #788117 #177881
tetradic
#811778 #815517 #178120 #174381
square
#811778 #815517 #178120 #174381
split-complementary
#811778 #438117 #178155
monochromatic
#1A0518 #4D0E48 #811778 #B520A8 #DB37CD

Accessibility & contrast

On white

9.02
#811778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811778
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811778#FFFFFF#000000##FFFFFF
##8117781.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#872548
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811778;
/* rgb */ color: rgb(129, 23, 120);
/* oklch */ color: oklch(42.8% 0.174 332.1);
Tailwind
colors: {
  custom: {
    50: '#a9639f',
    500: '#811778',
    950: '#000000',
  },
}
SCSS
$custom: #811778;
$custom-light: #a9639f;
$custom-dark: #000000;
JSON
{
  "hex": "#811778",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 305.094,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42805,
    "c": 0.17391,
    "h": 332.1
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#811778
secondary
#3EB548
accent
#ED4A3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811778

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

Preview Lab → · Contrast checker → · Palette generator →

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