#812CAE#812CAE

#812CAE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 310.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#812CAE
RGBrgb(129, 44, 174)
HSLhsl(279, 60%, 43%)
HSVhsv(279, 75%, 68%)
CMYKcmyk(25.9%, 74.7%, 0%, 31.8%)
CIE-LABlab(36.98, 56.60, -53.02)
CIE-LCHlch(36.98, 77.56, 316.87°)
OKLaboklab(48.2% 0.1298 -0.1501)
OKLCHoklch(48.2% 0.199 310.9)
XYZxyz(17.5925, 9.5249, 40.9479)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812CAE #59AE2C
analogous
#402CAE #812CAE #AE2C9A
triadic
#812CAE #AE812C #2CAE81
tetradic
#812CAE #AE402C #59AE2C #2C9AAE
square
#812CAE #AE402C #59AE2C #2C9AAE
split-complementary
#812CAE #9AAE2C #2CAE40
monochromatic
#39134C #5D207D #812CAE #A147D0 #BA78DD

Accessibility & contrast

On white

7.23
#812CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#812CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812CAE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812CAE#FFFFFF#000000##FFFFFF
##812CAE1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#1158AB
Tritanopia (blue-blind)
#7B4A6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #812cae;
/* rgb */ color: rgb(129, 44, 174);
/* oklch */ color: oklch(48.2% 0.199 310.9);
Tailwind
colors: {
  custom: {
    50: '#aa6ec7',
    500: '#812cae',
    950: '#000000',
  },
}
SCSS
$custom: #812cae;
$custom-light: #aa6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#812cae",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 279.231,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.1985,
    "h": 310.9
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#812CAE
secondary
#8EC571
accent
#E3457C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #812CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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