#8A6087#8A6087

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

Color values

HEX#8A6087
RGBrgb(138, 96, 135)
HSLhsl(304, 18%, 46%)
HSVhsv(304, 30%, 54%)
CMYKcmyk(0%, 30.4%, 2.2%, 45.9%)
CIE-LABlab(46.34, 23.85, -14.84)
CIE-LCHlch(46.34, 28.09, 328.10°)
OKLaboklab(54.68% 0.0667 -0.04)
OKLCHoklch(54.68% 0.078 329)
XYZxyz(19.0369, 15.5190, 24.9096)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6087 #608A63
analogous
#78608A #8A6087 #8A6072
triadic
#8A6087 #878A60 #60878A
tetradic
#8A6087 #8A7860 #608A63 #60728A
square
#8A6087 #8A7860 #608A63 #60728A
split-complementary
#8A6087 #728A60 #608A78
monochromatic
#422E40 #664764 #8A6087 #A780A4 #C0A4BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6087#FFFFFF#000000##FFFFFF
##8A60871.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)
#5E6A89
Deuteranopia (green-blind)
#687086
Tritanopia (blue-blind)
#8D636E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a6087;
/* rgb */ color: rgb(138, 96, 135);
/* oklch */ color: oklch(54.7% 0.078 329.0);
Tailwind
colors: {
  custom: {
    50: '#ad8daa',
    500: '#8a6087',
    950: '#000000',
  },
}
SCSS
$custom: #8a6087;
$custom-light: #ad8daa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6087",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 135
  },
  "hsl": {
    "h": 304.286,
    "s": 17.949,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.07777,
    "h": 329
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#8A6087
secondary
#97AE99
accent
#BB736D
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A6087

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

Preview Lab → · Contrast checker → · Palette generator →

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