#8A6497#8A6497

#8A6497 is a mid, moderate purple. Relative luminance 0.168; OKLCH L 56.1% C 0.088 H 317.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A6497
RGBrgb(138, 100, 151)
HSLhsl(285, 20%, 49%)
HSVhsv(285, 34%, 59%)
CMYKcmyk(8.6%, 33.8%, 0%, 40.8%)
CIE-LABlab(47.95, 24.82, -21.91)
CIE-LCHlch(47.95, 33.11, 318.57°)
OKLaboklab(56.11% 0.0649 -0.0599)
OKLCHoklch(56.11% 0.088 317.3)
XYZxyz(20.6235, 16.7525, 31.4193)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6497 #719764
analogous
#716497 #8A6497 #97648B
triadic
#8A6497 #978A64 #64978A
tetradic
#8A6497 #977164 #719764 #648B97
square
#8A6497 #977164 #719764 #648B97
split-complementary
#8A6497 #8B9764 #649771
monochromatic
#47334D #684C72 #8A6497 #A688B0 #C2ADC9

Accessibility & contrast

On white

4.83
#8A6497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8A6497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6497
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6497#FFFFFF#000000##FFFFFF
##8A64971.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F99
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#8A6A77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6497;
/* rgb */ color: rgb(138, 100, 151);
/* oklch */ color: oklch(56.1% 0.088 317.3);
Tailwind
colors: {
  custom: {
    50: '#ad90b5',
    500: '#8a6497',
    950: '#000000',
  },
}
SCSS
$custom: #8a6497;
$custom-light: #ad90b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6497",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 151
  },
  "hsl": {
    "h": 284.706,
    "s": 20.319,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.08834,
    "h": 317.3
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#8A6497
secondary
#A6B7A0
accent
#BD6B80
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8A6497

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

Preview Lab → · Contrast checker → · Palette generator →

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