#8A6793#8A6793

#8A6793 is a mid, moderate purple. Relative luminance 0.172; OKLCH L 56.5% C 0.078 H 319.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A6793
RGBrgb(138, 103, 147)
HSLhsl(288, 18%, 49%)
HSVhsv(288, 30%, 58%)
CMYKcmyk(6.1%, 29.9%, 0%, 42.4%)
CIE-LABlab(48.52, 22.20, -18.65)
CIE-LCHlch(48.52, 29.00, 319.96°)
OKLaboklab(56.5% 0.059 -0.0508)
OKLCHoklch(56.5% 0.078 319.3)
XYZxyz(20.5972, 17.2108, 29.8351)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6793 #709367
analogous
#746793 #8A6793 #936786
triadic
#8A6793 #938A67 #67938A
tetradic
#8A6793 #937467 #709367 #678693
square
#8A6793 #937467 #709367 #678693
split-complementary
#8A6793 #869367 #679374
monochromatic
#46354B #684E6F #8A6793 #A68AAD #C1AEC6

Accessibility & contrast

On white

4.73
#8A6793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8A6793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6793
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6793#FFFFFF#000000##FFFFFF
##8A67931.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627195
Deuteranopia (green-blind)
#6A7492
Tritanopia (blue-blind)
#8B6C77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a6793;
/* rgb */ color: rgb(138, 103, 147);
/* oklch */ color: oklch(56.5% 0.078 319.3);
Tailwind
colors: {
  custom: {
    50: '#ac92b2',
    500: '#8a6793',
    950: '#000000',
  },
}
SCSS
$custom: #8a6793;
$custom-light: #ac92b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6793",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 147
  },
  "hsl": {
    "h": 287.727,
    "s": 17.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.565,
    "c": 0.07782,
    "h": 319.3
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#8A6793
secondary
#A5B5A1
accent
#BA6E7D
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6793

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

Preview Lab → · Contrast checker → · Palette generator →

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