#9E8AAA#9E8AAA

#9E8AAA is a light, muted violet. Relative luminance 0.283; OKLCH L 66.2% C 0.052 H 312.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9E8AAA
RGBrgb(158, 138, 170)
HSLhsl(278, 16%, 60%)
HSVhsv(278, 19%, 67%)
CMYKcmyk(7.1%, 18.8%, 0%, 33.3%)
CIE-LABlab(60.20, 13.64, -14.08)
CIE-LCHlch(60.20, 19.60, 314.10°)
OKLaboklab(66.22% 0.0352 -0.038)
OKLCHoklch(66.22% 0.052 312.8)
XYZxyz(30.4435, 28.3486, 41.8905)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8AAA #96AA8A
analogous
#8E8AAA #9E8AAA #AA8AA6
triadic
#9E8AAA #AA9E8A #8AAA9E
tetradic
#9E8AAA #AA8E8A #96AA8A #8AA6AA
square
#9E8AAA #AA8E8A #96AA8A #8AA6AA
split-complementary
#9E8AAA #A6AA8A #8AAA8E
monochromatic
#604E6C #80688F #9E8AAA #BBADC4 #D9D1DE

Accessibility & contrast

On white

3.15
#9E8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9E8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8AAA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8AAA#FFFFFF#000000##000000
##9E8AAA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8690AB
Deuteranopia (green-blind)
#8A92A9
Tritanopia (blue-blind)
#9D8E95
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e8aaa;
/* rgb */ color: rgb(158, 138, 170);
/* oklch */ color: oklch(66.2% 0.052 312.8);
Tailwind
colors: {
  custom: {
    50: '#baacc3',
    500: '#9e8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9e8aaa;
$custom-light: #baacc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8aaa",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 277.5,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.0518,
    "h": 312.8
  },
  "luminance": 0.28348
}

Semantic roles & 50–950 ramp

primary
#9E8AAA
secondary
#C6CEC2
accent
#9A4B69
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #9E8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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