#8A6794#8A6794

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

Color values

HEX#8A6794
RGBrgb(138, 103, 148)
HSLhsl(287, 18%, 49%)
HSVhsv(287, 30%, 58%)
CMYKcmyk(6.8%, 30.4%, 0%, 42%)
CIE-LABlab(48.56, 22.42, -19.19)
CIE-LCHlch(48.56, 29.50, 319.44°)
OKLaboklab(56.54% 0.0593 -0.0523)
OKLCHoklch(56.54% 0.079 318.6)
XYZxyz(20.6760, 17.2424, 30.2502)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6794 #719467
analogous
#746794 #8A6794 #946788
triadic
#8A6794 #948A67 #67948A
tetradic
#8A6794 #947467 #719467 #678894
square
#8A6794 #947467 #719467 #678894
split-complementary
#8A6794 #889467 #679474
monochromatic
#47354C #684E70 #8A6794 #A68AAE #C2AEC7

Accessibility & contrast

On white

4.72
#8A6794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8A6794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6794
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6794#FFFFFF#000000##FFFFFF
##8A67941.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617196
Deuteranopia (green-blind)
#697593
Tritanopia (blue-blind)
#8A6C77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a6794;
/* rgb */ color: rgb(138, 103, 148);
/* oklch */ color: oklch(56.5% 0.079 318.6);
Tailwind
colors: {
  custom: {
    50: '#ac92b3',
    500: '#8a6794',
    950: '#000000',
  },
}
SCSS
$custom: #8a6794;
$custom-light: #ac92b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6794",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 148
  },
  "hsl": {
    "h": 286.667,
    "s": 17.928,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.07903,
    "h": 318.6
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#8A6794
secondary
#A6B6A1
accent
#BB6D7E
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6794

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

Preview Lab → · Contrast checker → · Palette generator →

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