#817A99#817A99

#817A99 is a mid, muted violet. Relative luminance 0.209; OKLCH L 59.7% C 0.047 H 295.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#817A99
RGBrgb(129, 122, 153)
HSLhsl(254, 13%, 54%)
HSVhsv(254, 20%, 60%)
CMYKcmyk(15.7%, 20.3%, 0%, 40%)
CIE-LABlab(52.82, 9.22, -15.70)
CIE-LCHlch(52.82, 18.21, 300.43°)
OKLaboklab(59.68% 0.0202 -0.0428)
OKLCHoklch(59.68% 0.047 295.3)
XYZxyz(21.7613, 20.8860, 33.0157)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A99 #92997A
analogous
#7A8399 #817A99 #917A99
triadic
#817A99 #99817A #7A9981
tetradic
#817A99 #997A83 #92997A #7A9991
square
#817A99 #997A83 #92997A #7A9991
split-complementary
#817A99 #99917A #83997A
monochromatic
#474256 #635D79 #817A99 #A29DB4 #C3BFCE

Accessibility & contrast

On white

4.06
#817A99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#817A99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A99
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A99#FFFFFF#000000##000000
##817A991.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E9A
Deuteranopia (green-blind)
#747E98
Tritanopia (blue-blind)
#7D7F84
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #817a99;
/* rgb */ color: rgb(129, 122, 153);
/* oklch */ color: oklch(59.7% 0.047 295.3);
Tailwind
colors: {
  custom: {
    50: '#a5a0b7',
    500: '#817a99',
    950: '#000000',
  },
}
SCSS
$custom: #817a99;
$custom-light: #a5a0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#817a99",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 153
  },
  "hsl": {
    "h": 253.548,
    "s": 13.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5968,
    "c": 0.04728,
    "h": 295.3
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#817A99
secondary
#BBBEB1
accent
#B672A7
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #817A99

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

Preview Lab → · Contrast checker → · Palette generator →

#817A99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva