#8A7E97#8A7E97

#8A7E97 is a mid, muted violet. Relative luminance 0.226; OKLCH L 61.2% C 0.040 H 306.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A7E97
RGBrgb(138, 126, 151)
HSLhsl(269, 11%, 54%)
HSVhsv(269, 17%, 59%)
CMYKcmyk(8.6%, 16.6%, 0%, 40.8%)
CIE-LABlab(54.62, 9.56, -11.76)
CIE-LCHlch(54.62, 15.15, 309.13°)
OKLaboklab(61.24% 0.0238 -0.0317)
OKLCHoklch(61.24% 0.04 306.9)
XYZxyz(23.5270, 22.5594, 32.3871)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E97 #8B977E
analogous
#7E7F97 #8A7E97 #977E97
triadic
#8A7E97 #978A7E #7E978A
tetradic
#8A7E97 #977E7F #8B977E #7E9797
square
#8A7E97 #977E7F #8B977E #7E9797
split-complementary
#8A7E97 #97977E #7F977E
monochromatic
#4D4556 #6B6077 #8A7E97 #A9A0B2 #C7C2CE

Accessibility & contrast

On white

3.81
#8A7E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A7E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E97
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E97#FFFFFF#000000##000000
##8A7E971.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8298
Deuteranopia (green-blind)
#7C8396
Tritanopia (blue-blind)
#888186
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7e97;
/* rgb */ color: rgb(138, 126, 151);
/* oklch */ color: oklch(61.2% 0.040 306.9);
Tailwind
colors: {
  custom: {
    50: '#aca3b5',
    500: '#8a7e97',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e97;
$custom-light: #aca3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e97",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 268.8,
    "s": 10.73,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.03966,
    "h": 306.9
  },
  "luminance": 0.22559
}

Semantic roles & 50–950 ramp

primary
#8A7E97
secondary
#B9BEB3
accent
#B47495
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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