#812E77#812E77

#812E77 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.145 H 332.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#812E77
RGBrgb(129, 46, 119)
HSLhsl(307, 47%, 34%)
HSVhsv(307, 64%, 51%)
CMYKcmyk(0%, 64.3%, 7.8%, 49.4%)
CIE-LABlab(33.89, 44.94, -24.32)
CIE-LCHlch(33.89, 51.10, 331.58°)
OKLaboklab(44.9% 0.1292 -0.0665)
OKLCHoklch(44.9% 0.145 332.8)
XYZxyz(13.3600, 7.9540, 18.2808)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E77 #2E8138
analogous
#622E81 #812E77 #812E4E
triadic
#812E77 #77812E #2E7781
tetradic
#812E77 #81622E #2E8138 #2E4E81
square
#812E77 #81622E #2E8138 #2E4E81
split-complementary
#812E77 #4E812E #2E8162
monochromatic
#270E24 #541E4D #812E77 #AE3EA1 #C762BB

Accessibility & contrast

On white

8.11
#812E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#812E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E77
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E77#FFFFFF#000000##FFFFFF
##812E771.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#465475
Tritanopia (blue-blind)
#87354E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812e77;
/* rgb */ color: rgb(129, 46, 119);
/* oklch */ color: oklch(44.9% 0.145 332.8);
Tailwind
colors: {
  custom: {
    50: '#a86d9e',
    500: '#812e77',
    950: '#000000',
  },
}
SCSS
$custom: #812e77;
$custom-light: #a86d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#812e77",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 307.229,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.14528,
    "h": 332.8
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#812E77
secondary
#5DAE67
accent
#D76151
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812E77

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

Preview Lab → · Contrast checker → · Palette generator →

#812E77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva