#8A6897#8A6897

#8A6897 is a mid, moderate purple. Relative luminance 0.175; OKLCH L 56.9% C 0.081 H 316.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A6897
RGBrgb(138, 104, 151)
HSLhsl(283, 18%, 50%)
HSVhsv(283, 31%, 59%)
CMYKcmyk(8.6%, 31.1%, 0%, 40.8%)
CIE-LABlab(48.93, 22.47, -20.39)
CIE-LCHlch(48.93, 30.35, 317.78°)
OKLaboklab(56.86% 0.0586 -0.0557)
OKLCHoklch(56.86% 0.081 316.4)
XYZxyz(21.0166, 17.5387, 31.5503)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6897 #759768
analogous
#736897 #8A6897 #97688C
triadic
#8A6897 #978A68 #68978A
tetradic
#8A6897 #977368 #759768 #688C97
square
#8A6897 #977368 #759768 #688C97
split-complementary
#8A6897 #8C9768 #689773
monochromatic
#48364F #694F73 #8A6897 #A68CB0 #C2B0C9

Accessibility & contrast

On white

4.66
#8A6897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A6897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6897
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6897#FFFFFF#000000##FFFFFF
##8A68971.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627299
Deuteranopia (green-blind)
#697596
Tritanopia (blue-blind)
#8A6E79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a6897;
/* rgb */ color: rgb(138, 104, 151);
/* oklch */ color: oklch(56.9% 0.081 316.4);
Tailwind
colors: {
  custom: {
    50: '#ac93b5',
    500: '#8a6897',
    950: '#000000',
  },
}
SCSS
$custom: #8a6897;
$custom-light: #ac93b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6897",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 283.404,
    "s": 18.431,
    "l": 50
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.08081,
    "h": 316.4
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#8A6897
secondary
#A9B8A3
accent
#BB6D82
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6897

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

Preview Lab → · Contrast checker → · Palette generator →

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