#8A7AA5#8A7AA5

#8A7AA5 is a mid, moderate violet. Relative luminance 0.220; OKLCH L 61.0% C 0.066 H 301.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A7AA5
RGBrgb(138, 122, 165)
HSLhsl(262, 19%, 56%)
HSVhsv(262, 26%, 65%)
CMYKcmyk(16.4%, 26.1%, 0%, 35.3%)
CIE-LABlab(54.07, 15.02, -20.70)
CIE-LCHlch(54.07, 25.58, 305.97°)
OKLaboklab(60.98% 0.0347 -0.0567)
OKLCHoklch(60.98% 0.066 301.5)
XYZxyz(24.2309, 22.0389, 38.5674)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AA5 #95A57A
analogous
#7A80A5 #8A7AA5 #A07AA5
triadic
#8A7AA5 #A58A7A #7AA58A
tetradic
#8A7AA5 #A57A80 #95A57A #7AA5A0
square
#8A7AA5 #A57A80 #95A57A #7AA5A0
split-complementary
#8A7AA5 #A5A07A #80A57A
monochromatic
#4E4262 #6B5B87 #8A7AA5 #AA9FBE #CAC3D6

Accessibility & contrast

On white

3.88
#8A7AA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A7AA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AA5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AA5#FFFFFF#000000##000000
##8A7AA51.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7181A7
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#868089
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7aa5;
/* rgb */ color: rgb(138, 122, 165);
/* oklch */ color: oklch(61.0% 0.066 301.5);
Tailwind
colors: {
  custom: {
    50: '#aca0bf',
    500: '#8a7aa5',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aa5;
$custom-light: #aca0bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aa5",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 165
  },
  "hsl": {
    "h": 262.326,
    "s": 19.283,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60983,
    "c": 0.06646,
    "h": 301.5
  },
  "luminance": 0.22039
}

Semantic roles & 50–950 ramp

primary
#8A7AA5
secondary
#C0C6B5
accent
#BC6C9E
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A7AA5

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

Preview Lab → · Contrast checker → · Palette generator →

#8A7AA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva