#814AA5#814AA5

#814AA5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.147 H 310.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#814AA5
RGBrgb(129, 74, 165)
HSLhsl(276, 38%, 47%)
HSVhsv(276, 55%, 65%)
CMYKcmyk(21.8%, 55.2%, 0%, 35.3%)
CIE-LABlab(41.66, 40.14, -40.15)
CIE-LCHlch(41.66, 56.77, 315.00°)
OKLaboklab(51.4% 0.0948 -0.1126)
OKLCHoklch(51.4% 0.147 310.1)
XYZxyz(18.2923, 12.2816, 36.9970)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814AA5 #6EA54A
analogous
#544AA5 #814AA5 #A54A9C
triadic
#814AA5 #A5814A #4AA581
tetradic
#814AA5 #A5544A #6EA54A #4A9CA5
square
#814AA5 #A5544A #6EA54A #4A9CA5
split-complementary
#814AA5 #9CA54A #4AA554
monochromatic
#3F2450 #60377B #814AA5 #9E6EBE #BB98D1

Accessibility & contrast

On white

6.08
#814AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #814AA5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814AA5#FFFFFF#000000##FFFFFF
##814AA51.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#4263A3
Tritanopia (blue-blind)
#7C5A70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #814aa5;
/* rgb */ color: rgb(129, 74, 165);
/* oklch */ color: oklch(51.4% 0.147 310.1);
Tailwind
colors: {
  custom: {
    50: '#a87fc0',
    500: '#814aa5',
    950: '#000000',
  },
}
SCSS
$custom: #814aa5;
$custom-light: #a87fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#814aa5",
  "rgb": {
    "r": 129,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 276.264,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.1472,
    "h": 310.1
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #814AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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