#812E76#812E76

#812E76 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.144 H 333.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#812E76
RGBrgb(129, 46, 118)
HSLhsl(308, 47%, 34%)
HSVhsv(308, 64%, 51%)
CMYKcmyk(0%, 64.3%, 8.5%, 49.4%)
CIE-LABlab(33.84, 44.77, -23.77)
CIE-LCHlch(33.84, 50.69, 332.03°)
OKLaboklab(44.84% 0.129 -0.0649)
OKLCHoklch(44.84% 0.144 333.3)
XYZxyz(13.3003, 7.9301, 17.9662)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E76 #2E8139
analogous
#632E81 #812E76 #812E4D
triadic
#812E76 #76812E #2E7681
tetradic
#812E76 #81632E #2E8139 #2E4D81
square
#812E76 #81632E #2E8139 #2E4D81
split-complementary
#812E76 #4D812E #2E8163
monochromatic
#270E23 #541E4D #812E76 #AE3E9F #C762BA

Accessibility & contrast

On white

8.12
#812E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812E76
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E76#FFFFFF#000000##FFFFFF
##812E761.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#87344D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812e76;
/* rgb */ color: rgb(129, 46, 118);
/* oklch */ color: oklch(44.8% 0.144 333.3);
Tailwind
colors: {
  custom: {
    50: '#a86d9d',
    500: '#812e76',
    950: '#000000',
  },
}
SCSS
$custom: #812e76;
$custom-light: #a86d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#812e76",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 307.952,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.14445,
    "h": 333.3
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#812E76
secondary
#5DAE68
accent
#D76351
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812E76

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

Preview Lab → · Contrast checker → · Palette generator →

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