#8A6086#8A6086

#8A6086 is a mid, moderate purple. Relative luminance 0.155; OKLCH L 54.6% C 0.077 H 329.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A6086
RGBrgb(138, 96, 134)
HSLhsl(306, 18%, 46%)
HSVhsv(306, 30%, 54%)
CMYKcmyk(0%, 30.4%, 2.9%, 45.9%)
CIE-LABlab(46.30, 23.65, -14.30)
CIE-LCHlch(46.30, 27.64, 328.84°)
OKLaboklab(54.64% 0.0664 -0.0385)
OKLCHoklch(54.64% 0.077 329.9)
XYZxyz(18.9668, 15.4909, 24.5406)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6086 #608A64
analogous
#79608A #8A6086 #8A6071
triadic
#8A6086 #868A60 #60868A
tetradic
#8A6086 #8A7960 #608A64 #60718A
square
#8A6086 #8A7960 #608A64 #60718A
split-complementary
#8A6086 #718A60 #608A79
monochromatic
#422E40 #664763 #8A6086 #A780A3 #C0A4BD

Accessibility & contrast

On white

5.12
#8A6086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8A6086 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6086
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6086#FFFFFF#000000##FFFFFF
##8A60861.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A87
Deuteranopia (green-blind)
#687085
Tritanopia (blue-blind)
#8D636E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a6086;
/* rgb */ color: rgb(138, 96, 134);
/* oklch */ color: oklch(54.6% 0.077 329.9);
Tailwind
colors: {
  custom: {
    50: '#ad8da9',
    500: '#8a6086',
    950: '#000000',
  },
}
SCSS
$custom: #8a6086;
$custom-light: #ad8da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6086",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 134
  },
  "hsl": {
    "h": 305.714,
    "s": 17.949,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.07673,
    "h": 329.9
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#8A6086
secondary
#97AE9A
accent
#BB756D
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A6086

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

Preview Lab → · Contrast checker → · Palette generator →

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