#9A8AAA#9A8AAA

#9A8AAA is a light, muted violet. Relative luminance 0.279; OKLCH L 65.9% C 0.050 H 307.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9A8AAA
RGBrgb(154, 138, 170)
HSLhsl(270, 16%, 60%)
HSVhsv(270, 19%, 67%)
CMYKcmyk(9.4%, 18.8%, 0%, 33.3%)
CIE-LABlab(59.84, 12.27, -14.66)
CIE-LCHlch(59.84, 19.11, 309.93°)
OKLaboklab(65.85% 0.0306 -0.0396)
OKLCHoklch(65.85% 0.05 307.6)
XYZxyz(29.6693, 27.9494, 41.8542)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8AAA #9AAA8A
analogous
#8A8AAA #9A8AAA #AA8AAA
triadic
#9A8AAA #AA9A8A #8AAA9A
tetradic
#9A8AAA #AA8A8A #9AAA8A #8AAAAA
square
#9A8AAA #AA8A8A #9AAA8A #8AAAAA
split-complementary
#9A8AAA #AAAA8A #8AAA8A
monochromatic
#5D4E6C #7B688F #9A8AAA #B9ADC4 #D7D1DE

Accessibility & contrast

On white

3.19
#9A8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9A8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8AAA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8AAA#FFFFFF#000000##000000
##9A8AAA1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FAB
Deuteranopia (green-blind)
#8890A9
Tritanopia (blue-blind)
#988E95
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a8aaa;
/* rgb */ color: rgb(154, 138, 170);
/* oklch */ color: oklch(65.9% 0.050 307.6);
Tailwind
colors: {
  custom: {
    50: '#b8acc3',
    500: '#9a8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9a8aaa;
$custom-light: #b8acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8aaa",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65851,
    "c": 0.05006,
    "h": 307.6
  },
  "luminance": 0.27949
}

Semantic roles & 50–950 ramp

primary
#9A8AAA
secondary
#C8CEC2
accent
#9A4B73
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #9A8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#9A8AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva