#814AA2#814AA2

#814AA2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.144 H 311.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#814AA2
RGBrgb(129, 74, 162)
HSLhsl(278, 37%, 46%)
HSVhsv(278, 54%, 64%)
CMYKcmyk(20.4%, 54.3%, 0%, 36.5%)
CIE-LABlab(41.49, 39.45, -38.63)
CIE-LCHlch(41.49, 55.21, 315.60°)
OKLaboklab(51.22% 0.0946 -0.1081)
OKLCHoklch(51.22% 0.144 311.2)
XYZxyz(18.0224, 12.1737, 35.5758)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814AA2 #6BA24A
analogous
#554AA2 #814AA2 #A24A97
triadic
#814AA2 #A2814A #4AA281
tetradic
#814AA2 #A2554A #6BA24A #4A97A2
square
#814AA2 #A2554A #6BA24A #4A97A2
split-complementary
#814AA2 #97A24A #4AA255
monochromatic
#3E244E #603778 #814AA2 #9F6DBC #BA97CF

Accessibility & contrast

On white

6.11
#814AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#814AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814AA2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814AA2#FFFFFF#000000##FFFFFF
##814AA21.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#7D596F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #814aa2;
/* rgb */ color: rgb(129, 74, 162);
/* oklch */ color: oklch(51.2% 0.144 311.2);
Tailwind
colors: {
  custom: {
    50: '#a87fbe',
    500: '#814aa2',
    950: '#000000',
  },
}
SCSS
$custom: #814aa2;
$custom-light: #a87fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#814aa2",
  "rgb": {
    "r": 129,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 277.5,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.1437,
    "h": 311.2
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#814AA2
secondary
#9EBC8C
accent
#CD5B86
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #814AA2

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

Preview Lab → · Contrast checker → · Palette generator →

#814AA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva