#816799#816799

#816799 is a mid, moderate violet. Relative luminance 0.167; OKLCH L 55.8% C 0.081 H 307.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#816799
RGBrgb(129, 103, 153)
HSLhsl(271, 20%, 50%)
HSVhsv(271, 33%, 60%)
CMYKcmyk(15.7%, 32.7%, 0%, 40%)
CIE-LABlab(47.84, 20.49, -23.34)
CIE-LCHlch(47.84, 31.06, 311.29°)
OKLaboklab(55.84% 0.0496 -0.0642)
OKLCHoklch(55.84% 0.081 307.7)
XYZxyz(19.6522, 16.6677, 32.3127)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816799 #7F9967
analogous
#686799 #816799 #996798
triadic
#816799 #998167 #679981
tetradic
#816799 #996867 #7F9967 #679899
square
#816799 #996867 #7F9967 #679899
split-complementary
#816799 #989967 #679968
monochromatic
#433650 #624E75 #816799 #9F8CB2 #BEB0CA

Accessibility & contrast

On white

4.85
#816799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#816799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816799
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816799#FFFFFF#000000##FFFFFF
##8167991.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E709B
Deuteranopia (green-blind)
#637298
Tritanopia (blue-blind)
#7E6E79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #816799;
/* rgb */ color: rgb(129, 103, 153);
/* oklch */ color: oklch(55.8% 0.081 307.7);
Tailwind
colors: {
  custom: {
    50: '#a692b7',
    500: '#816799',
    950: '#000000',
  },
}
SCSS
$custom: #816799;
$custom-light: #a692b7;
$custom-dark: #000000;
JSON
{
  "hex": "#816799",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 271.2,
    "s": 19.685,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.08112,
    "h": 307.7
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#816799
secondary
#ADB9A3
accent
#BC6C92
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#0F0D11
muted
#7F7E80

Preview Lab

Preview with #816799

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

Preview Lab → · Contrast checker → · Palette generator →

#816799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva