#8A77AA#8A77AA

#8A77AA is a mid, moderate violet. Relative luminance 0.215; OKLCH L 60.6% C 0.079 H 301.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A77AA
RGBrgb(138, 119, 170)
HSLhsl(262, 23%, 57%)
HSVhsv(262, 30%, 67%)
CMYKcmyk(18.8%, 30%, 0%, 33.3%)
CIE-LABlab(53.49, 17.95, -24.48)
CIE-LCHlch(53.49, 30.36, 306.25°)
OKLaboklab(60.61% 0.0408 -0.0674)
OKLCHoklch(60.61% 0.079 301.2)
XYZxyz(24.3322, 21.4992, 40.8903)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77AA #97AA77
analogous
#777EAA #8A77AA #A477AA
triadic
#8A77AA #AA8A77 #77AA8A
tetradic
#8A77AA #AA777E #97AA77 #77AAA4
square
#8A77AA #AA777E #97AA77 #77AAA4
split-complementary
#8A77AA #AAA477 #7EAA77
monochromatic
#4E4067 #6B588C #8A77AA #AA9DC2 #CBC2D9

Accessibility & contrast

On white

3.96
#8A77AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A77AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77AA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77AA#FFFFFF#000000##000000
##8A77AA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7FAC
Deuteranopia (green-blind)
#6F80A9
Tritanopia (blue-blind)
#857F89
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a77aa;
/* rgb */ color: rgb(138, 119, 170);
/* oklch */ color: oklch(60.6% 0.079 301.2);
Tailwind
colors: {
  custom: {
    50: '#ad9ec3',
    500: '#8a77aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a77aa;
$custom-light: #ad9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77aa",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 170
  },
  "hsl": {
    "h": 262.353,
    "s": 23.077,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.07873,
    "h": 301.2
  },
  "luminance": 0.21499
}

Semantic roles & 50–950 ramp

primary
#8A77AA
secondary
#C1C9B4
accent
#C0689F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A77AA

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

Preview Lab → · Contrast checker → · Palette generator →

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