#812DA9#812DA9

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

Color values

HEX#812DA9
RGBrgb(129, 45, 169)
HSLhsl(281, 58%, 42%)
HSVhsv(281, 73%, 66%)
CMYKcmyk(23.7%, 73.4%, 0%, 33.7%)
CIE-LABlab(36.76, 55.13, -50.39)
CIE-LCHlch(36.76, 74.69, 317.58°)
OKLaboklab(47.93% 0.1296 -0.1424)
OKLCHoklch(47.93% 0.193 312.3)
XYZxyz(17.1518, 9.4090, 38.4410)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812DA9 #55A92D
analogous
#432DA9 #812DA9 #A92D93
triadic
#812DA9 #A9812D #2DA981
tetradic
#812DA9 #A9432D #55A92D #2D93A9
square
#812DA9 #A9432D #55A92D #2D93A9
split-complementary
#812DA9 #93A92D #2DA943
monochromatic
#371348 #5C2079 #812DA9 #A246CE #BA76DA

Accessibility & contrast

On white

7.29
#812DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#812DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812DA9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812DA9#FFFFFF#000000##FFFFFF
##812DA91.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#1E58A6
Tritanopia (blue-blind)
#7C4968
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #812da9;
/* rgb */ color: rgb(129, 45, 169);
/* oklch */ color: oklch(47.9% 0.193 312.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ec3',
    500: '#812da9',
    950: '#000000',
  },
}
SCSS
$custom: #812da9;
$custom-light: #aa6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#812da9",
  "rgb": {
    "r": 129,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 280.645,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47932,
    "c": 0.19259,
    "h": 312.3
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#812DA9
secondary
#8AC26F
accent
#E14778
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #812DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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