#812EAD#812EAD

#812EAD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 311.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#812EAD
RGBrgb(129, 46, 173)
HSLhsl(279, 58%, 43%)
HSVhsv(279, 73%, 68%)
CMYKcmyk(25.4%, 73.4%, 0%, 32.2%)
CIE-LABlab(37.19, 55.59, -52.09)
CIE-LCHlch(37.19, 76.18, 316.86°)
OKLaboklab(48.32% 0.1281 -0.1474)
OKLCHoklch(48.32% 0.195 311)
XYZxyz(17.5716, 9.6387, 40.4619)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EAD #5AAD2E
analogous
#422EAD #812EAD #AD2E99
triadic
#812EAD #AD812E #2EAD81
tetradic
#812EAD #AD422E #5AAD2E #2E99AD
square
#812EAD #AD422E #5AAD2E #2E99AD
split-complementary
#812EAD #99AD2E #2EAD42
monochromatic
#39144C #5D217D #812EAD #A149CF #BA7ADC

Accessibility & contrast

On white

7.17
#812EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#812EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812EAD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812EAD#FFFFFF#000000##FFFFFF
##812EAD1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#1859AA
Tritanopia (blue-blind)
#7B4B6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #812ead;
/* rgb */ color: rgb(129, 46, 173);
/* oklch */ color: oklch(48.3% 0.195 311.0);
Tailwind
colors: {
  custom: {
    50: '#aa6fc6',
    500: '#812ead',
    950: '#000000',
  },
}
SCSS
$custom: #812ead;
$custom-light: #aa6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#812ead",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 279.213,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48324,
    "c": 0.19527,
    "h": 311
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#812EAD
secondary
#8FC473
accent
#E1477C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #812EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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