#814AA6#814AA6

#814AA6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.148 H 309.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#814AA6
RGBrgb(129, 74, 166)
HSLhsl(276, 38%, 47%)
HSVhsv(276, 55%, 65%)
CMYKcmyk(22.3%, 55.4%, 0%, 34.9%)
CIE-LABlab(41.72, 40.38, -40.65)
CIE-LCHlch(41.72, 57.29, 314.81°)
OKLaboklab(51.46% 0.0949 -0.114)
OKLCHoklch(51.46% 0.148 309.8)
XYZxyz(18.3837, 12.3182, 37.4782)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814AA6 #6FA64A
analogous
#534AA6 #814AA6 #A64A9D
triadic
#814AA6 #A6814A #4AA681
tetradic
#814AA6 #A6534A #6FA64A #4A9DA6
square
#814AA6 #A6534A #6FA64A #4A9DA6
split-complementary
#814AA6 #9DA64A #4AA653
monochromatic
#3F2451 #60377C #814AA6 #9E6FBF #BB99D1

Accessibility & contrast

On white

6.06
#814AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#814AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814AA6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814AA6#FFFFFF#000000##FFFFFF
##814AA61.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#4163A4
Tritanopia (blue-blind)
#7C5A71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #814aa6;
/* rgb */ color: rgb(129, 74, 166);
/* oklch */ color: oklch(51.5% 0.148 309.8);
Tailwind
colors: {
  custom: {
    50: '#a87fc1',
    500: '#814aa6',
    950: '#000000',
  },
}
SCSS
$custom: #814aa6;
$custom-light: #a87fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#814aa6",
  "rgb": {
    "r": 129,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 275.87,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.14836,
    "h": 309.8
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#814AA6
secondary
#A1BE8E
accent
#CE5A88
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #814AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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