#8A6790#8A6790

#8A6790 is a mid, moderate purple. Relative luminance 0.171; OKLCH L 56.4% C 0.074 H 321.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A6790
RGBrgb(138, 103, 144)
HSLhsl(291, 17%, 48%)
HSVhsv(291, 28%, 56%)
CMYKcmyk(4.2%, 28.5%, 0%, 43.5%)
CIE-LABlab(48.41, 21.57, -17.05)
CIE-LCHlch(48.41, 27.50, 321.67°)
OKLaboklab(56.37% 0.0581 -0.0463)
OKLCHoklch(56.37% 0.074 321.5)
XYZxyz(20.3649, 17.1179, 28.6115)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6790 #6D9067
analogous
#756790 #8A6790 #906781
triadic
#8A6790 #908A67 #67908A
tetradic
#8A6790 #907567 #6D9067 #678190
square
#8A6790 #907567 #6D9067 #678190
split-complementary
#8A6790 #819067 #679075
monochromatic
#463449 #684D6C #8A6790 #A689AB #C1ADC4

Accessibility & contrast

On white

4.75
#8A6790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8A6790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6790
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6790#FFFFFF#000000##FFFFFF
##8A67901.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637092
Deuteranopia (green-blind)
#6B748F
Tritanopia (blue-blind)
#8B6B76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a6790;
/* rgb */ color: rgb(138, 103, 144);
/* oklch */ color: oklch(56.4% 0.074 321.5);
Tailwind
colors: {
  custom: {
    50: '#ac92b0',
    500: '#8a6790',
    950: '#000000',
  },
}
SCSS
$custom: #8a6790;
$custom-light: #ac92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6790",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 144
  },
  "hsl": {
    "h": 291.22,
    "s": 16.599,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.07426,
    "h": 321.5
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#8A6790
secondary
#A2B39F
accent
#B96E79
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6790

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

Preview Lab → · Contrast checker → · Palette generator →

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