#812CAA#812CAA

#812CAA is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.195 H 312.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#812CAA
RGBrgb(129, 44, 170)
HSLhsl(280, 59%, 42%)
HSVhsv(280, 74%, 67%)
CMYKcmyk(24.1%, 74.1%, 0%, 33.3%)
CIE-LABlab(36.69, 55.75, -51.10)
CIE-LCHlch(36.69, 75.63, 317.49°)
OKLaboklab(47.91% 0.1305 -0.1445)
OKLCHoklch(47.91% 0.195 312.1)
XYZxyz(17.2083, 9.3712, 38.9248)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812CAA #55AA2C
analogous
#422CAA #812CAA #AA2C94
triadic
#812CAA #AA812C #2CAA81
tetradic
#812CAA #AA422C #55AA2C #2C94AA
square
#812CAA #AA422C #55AA2C #2C94AA
split-complementary
#812CAA #94AA2C #2CAA42
monochromatic
#371349 #5C1F79 #812CAA #A244CF #BA75DB

Accessibility & contrast

On white

7.31
#812CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#812CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812CAA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812CAA#FFFFFF#000000##FFFFFF
##812CAA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#1B58A7
Tritanopia (blue-blind)
#7C4869
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #812caa;
/* rgb */ color: rgb(129, 44, 170);
/* oklch */ color: oklch(47.9% 0.195 312.1);
Tailwind
colors: {
  custom: {
    50: '#aa6ec4',
    500: '#812caa',
    950: '#000000',
  },
}
SCSS
$custom: #812caa;
$custom-light: #aa6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#812caa",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 280.476,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.19469,
    "h": 312.1
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#812CAA
secondary
#8AC36F
accent
#E24679
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #812CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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