#812EAE#812EAE

#812EAE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.196 H 310.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#812EAE
RGBrgb(129, 46, 174)
HSLhsl(279, 58%, 43%)
HSVhsv(279, 74%, 68%)
CMYKcmyk(25.9%, 73.6%, 0%, 31.8%)
CIE-LABlab(37.26, 55.80, -52.57)
CIE-LCHlch(37.26, 76.66, 316.71°)
OKLaboklab(48.4% 0.1279 -0.1488)
OKLCHoklch(48.4% 0.196 310.7)
XYZxyz(17.6688, 9.6775, 40.9734)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EAE #5BAE2E
analogous
#412EAE #812EAE #AE2E9B
triadic
#812EAE #AE812E #2EAE81
tetradic
#812EAE #AE412E #5BAE2E #2E9BAE
square
#812EAE #AE412E #5BAE2E #2E9BAE
split-complementary
#812EAE #9BAE2E #2EAE41
monochromatic
#39144D #5D217E #812EAE #A04ACF #BA7ADC

Accessibility & contrast

On white

7.15
#812EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#812EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812EAE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812EAE#FFFFFF#000000##FFFFFF
##812EAE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1559AB
Tritanopia (blue-blind)
#7B4B6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #812eae;
/* rgb */ color: rgb(129, 46, 174);
/* oklch */ color: oklch(48.4% 0.196 310.7);
Tailwind
colors: {
  custom: {
    50: '#aa6fc7',
    500: '#812eae',
    950: '#000000',
  },
}
SCSS
$custom: #812eae;
$custom-light: #aa6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#812eae",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 278.906,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.19624,
    "h": 310.7
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#812EAE
secondary
#90C474
accent
#E1467D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #812EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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