#8A6097#8A6097

#8A6097 is a mid, moderate purple. Relative luminance 0.160; OKLCH L 55.4% C 0.096 H 318.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A6097
RGBrgb(138, 96, 151)
HSLhsl(286, 22%, 48%)
HSVhsv(286, 36%, 59%)
CMYKcmyk(8.6%, 36.4%, 0%, 40.8%)
CIE-LABlab(46.98, 27.16, -23.40)
CIE-LCHlch(46.98, 35.85, 319.25°)
OKLaboklab(55.38% 0.0712 -0.0641)
OKLCHoklch(55.38% 0.096 318)
XYZxyz(20.2492, 16.0039, 31.2945)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6097 #6D9760
analogous
#6E6097 #8A6097 #976088
triadic
#8A6097 #978A60 #60978A
tetradic
#8A6097 #976E60 #6D9760 #608897
square
#8A6097 #976E60 #6D9760 #608897
split-complementary
#8A6097 #889760 #60976E
monochromatic
#46304C #684872 #8A6097 #A684B1 #C1A9C8

Accessibility & contrast

On white

5.00
#8A6097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A6097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6097
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6097#FFFFFF#000000##FFFFFF
##8A60971.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586D99
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#8A6774
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a6097;
/* rgb */ color: rgb(138, 96, 151);
/* oklch */ color: oklch(55.4% 0.096 318.0);
Tailwind
colors: {
  custom: {
    50: '#ad8eb5',
    500: '#8a6097',
    950: '#000000',
  },
}
SCSS
$custom: #8a6097;
$custom-light: #ad8eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6097",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 151
  },
  "hsl": {
    "h": 285.818,
    "s": 22.267,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.09584,
    "h": 318
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#8A6097
secondary
#A2B79C
accent
#BF697D
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8A6097

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

Preview Lab → · Contrast checker → · Palette generator →

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