#8A6D97#8A6D97

#8A6D97 is a mid, moderate purple. Relative luminance 0.186; OKLCH L 57.8% C 0.071 H 315.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A6D97
RGBrgb(138, 109, 151)
HSLhsl(281, 17%, 51%)
HSVhsv(281, 28%, 59%)
CMYKcmyk(8.6%, 27.8%, 0%, 40.8%)
CIE-LABlab(50.19, 19.53, -18.47)
CIE-LCHlch(50.19, 26.88, 316.59°)
OKLaboklab(57.82% 0.0506 -0.0503)
OKLCHoklch(57.82% 0.071 315.2)
XYZxyz(21.5349, 18.5753, 31.7231)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6D97 #7A976D
analogous
#756D97 #8A6D97 #976D8F
triadic
#8A6D97 #978A6D #6D978A
tetradic
#8A6D97 #97756D #7A976D #6D8F97
square
#8A6D97 #97756D #7A976D #6D8F97
split-complementary
#8A6D97 #8F976D #6D9775
monochromatic
#493950 #6A5374 #8A6D97 #A791B0 #C3B4CA

Accessibility & contrast

On white

4.45
#8A6D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A6D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6D97
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6D97#FFFFFF#000000##000000
##8A6D971.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#677699
Deuteranopia (green-blind)
#6D7896
Tritanopia (blue-blind)
#89727C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a6d97;
/* rgb */ color: rgb(138, 109, 151);
/* oklch */ color: oklch(57.8% 0.071 315.2);
Tailwind
colors: {
  custom: {
    50: '#ac97b5',
    500: '#8a6d97',
    950: '#000000',
  },
}
SCSS
$custom: #8a6d97;
$custom-light: #ac97b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6d97",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 281.429,
    "s": 16.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57822,
    "c": 0.07137,
    "h": 315.2
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#8A6D97
secondary
#ACB9A7
accent
#BA6E86
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6D97

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

Preview Lab → · Contrast checker → · Palette generator →

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