#8A6791#8A6791

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

Color values

HEX#8A6791
RGBrgb(138, 103, 145)
HSLhsl(290, 17%, 49%)
HSVhsv(290, 29%, 57%)
CMYKcmyk(4.8%, 29%, 0%, 43.1%)
CIE-LABlab(48.45, 21.78, -17.59)
CIE-LCHlch(48.45, 28.00, 321.08°)
OKLaboklab(56.42% 0.0584 -0.0478)
OKLCHoklch(56.42% 0.075 320.7)
XYZxyz(20.4417, 17.1486, 29.0158)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6791 #6E9167
analogous
#756791 #8A6791 #916783
triadic
#8A6791 #918A67 #67918A
tetradic
#8A6791 #917567 #6E9167 #678391
square
#8A6791 #917567 #6E9167 #678391
split-complementary
#8A6791 #839167 #679175
monochromatic
#463449 #684E6D #8A6791 #A68AAC #C1ADC5

Accessibility & contrast

On white

4.74
#8A6791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8A6791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6791
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6791#FFFFFF#000000##FFFFFF
##8A67911.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a6791;
/* rgb */ color: rgb(138, 103, 145);
/* oklch */ color: oklch(56.4% 0.075 320.7);
Tailwind
colors: {
  custom: {
    50: '#ac92b1',
    500: '#8a6791',
    950: '#000000',
  },
}
SCSS
$custom: #8a6791;
$custom-light: #ac92b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6791",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 290,
    "s": 16.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.07543,
    "h": 320.7
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

primary
#8A6791
secondary
#A3B4A0
accent
#BA6E7B
background
#FAF9FA
surface
#F4F1F5
border
#CECBCF
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6791

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

Preview Lab → · Contrast checker → · Palette generator →

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