#812FAE#812FAE

#812FAE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.195 H 310.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#812FAE
RGBrgb(129, 47, 174)
HSLhsl(279, 57%, 43%)
HSVhsv(279, 73%, 68%)
CMYKcmyk(25.9%, 73%, 0%, 31.8%)
CIE-LABlab(37.40, 55.39, -52.34)
CIE-LCHlch(37.40, 76.20, 316.62°)
OKLaboklab(48.5% 0.1269 -0.1481)
OKLCHoklch(48.5% 0.195 310.6)
XYZxyz(17.7083, 9.7566, 40.9865)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FAE #5CAE2F
analogous
#412FAE #812FAE #AE2F9B
triadic
#812FAE #AE812F #2FAE81
tetradic
#812FAE #AE412F #5CAE2F #2F9BAE
square
#812FAE #AE412F #5CAE2F #2F9BAE
split-complementary
#812FAE #9BAE2F #2FAE41
monochromatic
#3A154E #5D227E #812FAE #A04CCF #BA7CDC

Accessibility & contrast

On white

7.12
#812FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#812FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812FAE
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FAE#FFFFFF#000000##FFFFFF
##812FAE1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812fae;
/* rgb */ color: rgb(129, 47, 174);
/* oklch */ color: oklch(48.5% 0.195 310.6);
Tailwind
colors: {
  custom: {
    50: '#aa6fc7',
    500: '#812fae',
    950: '#000000',
  },
}
SCSS
$custom: #812fae;
$custom-light: #aa6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#812fae",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 278.74,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.485,
    "c": 0.19508,
    "h": 310.6
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#812FAE
secondary
#91C475
accent
#E1477E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #812FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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