#816AAA#816AAA

#816AAA is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.2% C 0.099 H 299.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#816AAA
RGBrgb(129, 106, 170)
HSLhsl(262, 27%, 54%)
HSVhsv(262, 38%, 67%)
CMYKcmyk(24.1%, 37.6%, 0%, 33.3%)
CIE-LABlab(49.35, 22.80, -30.98)
CIE-LCHlch(49.35, 38.47, 306.35°)
OKLaboklab(57.24% 0.0493 -0.0861)
OKLCHoklch(57.24% 0.099 299.8)
XYZxyz(21.4614, 17.8774, 40.3424)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AAA #93AA6A
analogous
#6A73AA #816AAA #A16AAA
triadic
#816AAA #AA816A #6AAA81
tetradic
#816AAA #AA6A73 #93AA6A #6AAAA1
square
#816AAA #AA6A73 #93AA6A #6AAAA1
split-complementary
#816AAA #AAA16A #73AA6A
monochromatic
#473862 #634E89 #816AAA #A291C0 #C3B8D6

Accessibility & contrast

On white

4.59
#816AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#816AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #816AAA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AAA#FFFFFF#000000##FFFFFF
##816AAA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#5E75A8
Tritanopia (blue-blind)
#797582
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #816aaa;
/* rgb */ color: rgb(129, 106, 170);
/* oklch */ color: oklch(57.2% 0.099 299.8);
Tailwind
colors: {
  custom: {
    50: '#a795c3',
    500: '#816aaa',
    950: '#000000',
  },
}
SCSS
$custom: #816aaa;
$custom-light: #a795c3;
$custom-dark: #000000;
JSON
{
  "hex": "#816aaa",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 261.563,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.09921,
    "h": 299.8
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#816AAA
secondary
#BCC6AA
accent
#C464A1
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #816AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#816AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva