#816396#816396

#816396 is a mid, moderate violet. Relative luminance 0.158; OKLCH L 54.9% C 0.084 H 310.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#816396
RGBrgb(129, 99, 150)
HSLhsl(275, 20%, 49%)
HSVhsv(275, 34%, 59%)
CMYKcmyk(14%, 34%, 0%, 41.2%)
CIE-LABlab(46.70, 22.19, -23.32)
CIE-LCHlch(46.70, 32.18, 313.58°)
OKLaboklab(54.93% 0.0551 -0.0641)
OKLCHoklch(54.93% 0.084 310.7)
XYZxyz(19.0192, 15.7931, 30.8947)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816396 #789663
analogous
#686396 #816396 #966392
triadic
#816396 #968163 #639681
tetradic
#816396 #966863 #789663 #639296
square
#816396 #966863 #789663 #639296
split-complementary
#816396 #929663 #639668
monochromatic
#42324C #614B71 #816396 #9F87B0 #BCACC8

Accessibility & contrast

On white

5.05
#816396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#816396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816396
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816396#FFFFFF#000000##FFFFFF
##8163961.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D98
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#7F6A76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816396;
/* rgb */ color: rgb(129, 99, 150);
/* oklch */ color: oklch(54.9% 0.084 310.7);
Tailwind
colors: {
  custom: {
    50: '#a68fb5',
    500: '#816396',
    950: '#000000',
  },
}
SCSS
$custom: #816396;
$custom-light: #a68fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#816396",
  "rgb": {
    "r": 129,
    "g": 99,
    "b": 150
  },
  "hsl": {
    "h": 275.294,
    "s": 20.482,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.08449,
    "h": 310.7
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#816396
secondary
#A8B79E
accent
#BD6B8D
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #816396

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

Preview Lab → · Contrast checker → · Palette generator →

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