#8A6792#8A6792

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

Color values

HEX#8A6792
RGBrgb(138, 103, 146)
HSLhsl(289, 17%, 49%)
HSVhsv(289, 29%, 57%)
CMYKcmyk(5.5%, 29.5%, 0%, 42.7%)
CIE-LABlab(48.49, 21.99, -18.12)
CIE-LCHlch(48.49, 28.50, 320.51°)
OKLaboklab(56.46% 0.0587 -0.0493)
OKLCHoklch(56.46% 0.077 320)
XYZxyz(20.5191, 17.1796, 29.4236)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6792 #6F9267
analogous
#756792 #8A6792 #926785
triadic
#8A6792 #928A67 #67928A
tetradic
#8A6792 #927567 #6F9267 #678592
square
#8A6792 #927567 #6F9267 #678592
split-complementary
#8A6792 #859267 #679275
monochromatic
#46344A #684E6E #8A6792 #A68AAC #C1AEC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6792#FFFFFF#000000##FFFFFF
##8A67921.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)
#627194
Deuteranopia (green-blind)
#6A7491
Tritanopia (blue-blind)
#8B6C76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a6792;
/* rgb */ color: rgb(138, 103, 146);
/* oklch */ color: oklch(56.5% 0.077 320.0);
Tailwind
colors: {
  custom: {
    50: '#ac92b2',
    500: '#8a6792',
    950: '#000000',
  },
}
SCSS
$custom: #8a6792;
$custom-light: #ac92b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6792",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 146
  },
  "hsl": {
    "h": 288.837,
    "s": 17.269,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.07662,
    "h": 320
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#8A6792
secondary
#A4B5A0
accent
#BA6E7C
background
#FAF9FA
surface
#F4F1F5
border
#CECBCF
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6792

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

Preview Lab → · Contrast checker → · Palette generator →

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