#8A7791#8A7791

#8A7791 is a mid, muted purple. Relative luminance 0.206; OKLCH L 59.6% C 0.045 H 316.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A7791
RGBrgb(138, 119, 145)
HSLhsl(284, 11%, 52%)
HSVhsv(284, 18%, 57%)
CMYKcmyk(4.8%, 17.9%, 0%, 43.1%)
CIE-LABlab(52.55, 12.37, -11.36)
CIE-LCHlch(52.55, 16.80, 317.44°)
OKLaboklab(59.57% 0.0327 -0.0306)
OKLCHoklch(59.57% 0.045 316.9)
XYZxyz(22.1881, 20.6415, 29.5979)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7791 #7E9177
analogous
#7D7791 #8A7791 #91778B
triadic
#8A7791 #918A77 #77918A
tetradic
#8A7791 #917D77 #7E9177 #778B91
square
#8A7791 #917D77 #7E9177 #778B91
split-complementary
#8A7791 #8B9177 #77917D
monochromatic
#4A3F4E #6A5B70 #8A7791 #A799AC #C4BBC8

Accessibility & contrast

On white

4.10
#8A7791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A7791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7791
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7791#FFFFFF#000000##000000
##8A77911.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#747C92
Deuteranopia (green-blind)
#787E90
Tritanopia (blue-blind)
#8A7A80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7791;
/* rgb */ color: rgb(138, 119, 145);
/* oklch */ color: oklch(59.6% 0.045 316.9);
Tailwind
colors: {
  custom: {
    50: '#ac9eb1',
    500: '#8a7791',
    950: '#000000',
  },
}
SCSS
$custom: #8a7791;
$custom-light: #ac9eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7791",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 283.846,
    "s": 10.569,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59574,
    "c": 0.04476,
    "h": 316.9
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#8A7791
secondary
#AFB8AC
accent
#B47485
background
#FAF9FA
surface
#F4F2F5
border
#CECCCF
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A7791

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

Preview Lab → · Contrast checker → · Palette generator →

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