#812E79#812E79

#812E79 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.147 H 331.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#812E79
RGBrgb(129, 46, 121)
HSLhsl(306, 47%, 34%)
HSVhsv(306, 64%, 51%)
CMYKcmyk(0%, 64.3%, 6.2%, 49.4%)
CIE-LABlab(33.99, 45.29, -25.42)
CIE-LCHlch(33.99, 51.94, 330.70°)
OKLaboklab(45% 0.1294 -0.0697)
OKLCHoklch(45% 0.147 331.7)
XYZxyz(13.4814, 8.0026, 18.9200)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E79 #2E8136
analogous
#602E81 #812E79 #812E50
triadic
#812E79 #79812E #2E7981
tetradic
#812E79 #81602E #2E8136 #2E5081
square
#812E79 #81602E #2E8136 #2E5081
split-complementary
#812E79 #50812E #2E8160
monochromatic
#270E24 #541E4F #812E79 #AE3EA3 #C762BD

Accessibility & contrast

On white

8.08
#812E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#812E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E79
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E79#FFFFFF#000000##FFFFFF
##812E791.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#86364F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812e79;
/* rgb */ color: rgb(129, 46, 121);
/* oklch */ color: oklch(45.0% 0.147 331.7);
Tailwind
colors: {
  custom: {
    50: '#a86da0',
    500: '#812e79',
    950: '#000000',
  },
}
SCSS
$custom: #812e79;
$custom-light: #a86da0;
$custom-dark: #000000;
JSON
{
  "hex": "#812e79",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 305.783,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45001,
    "c": 0.14697,
    "h": 331.7
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#812E79
secondary
#5DAE65
accent
#D75E51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812E79

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

Preview Lab → · Contrast checker → · Palette generator →

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