#8A77AF#8A77AF

#8A77AF is a mid, moderate violet. Relative luminance 0.217; OKLCH L 60.8% C 0.086 H 299.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A77AF
RGBrgb(138, 119, 175)
HSLhsl(260, 26%, 58%)
HSVhsv(260, 32%, 69%)
CMYKcmyk(21.1%, 32%, 0%, 31.4%)
CIE-LABlab(53.70, 19.14, -27.05)
CIE-LCHlch(53.70, 33.14, 305.28°)
OKLaboklab(60.83% 0.0421 -0.0747)
OKLCHoklch(60.83% 0.086 299.4)
XYZxyz(24.8142, 21.6920, 43.4288)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77AF #9CAF77
analogous
#7780AF #8A77AF #A677AF
triadic
#8A77AF #AF8A77 #77AF8A
tetradic
#8A77AF #AF7780 #9CAF77 #77AFA6
square
#8A77AF #AF7780 #9CAF77 #77AFA6
split-complementary
#8A77AF #AFA677 #80AF77
monochromatic
#4F406C #6B5693 #8A77AF #AB9EC6 #CCC4DC

Accessibility & contrast

On white

3.93
#8A77AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8A77AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77AF#FFFFFF#000000##000000
##8A77AF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A80B1
Deuteranopia (green-blind)
#6D80AD
Tritanopia (blue-blind)
#83808B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a77af;
/* rgb */ color: rgb(138, 119, 175);
/* oklch */ color: oklch(60.8% 0.086 299.4);
Tailwind
colors: {
  custom: {
    50: '#ad9ec7',
    500: '#8a77af',
    950: '#000000',
  },
}
SCSS
$custom: #8a77af;
$custom-light: #ad9ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77af",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 175
  },
  "hsl": {
    "h": 260.357,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.08575,
    "h": 299.4
  },
  "luminance": 0.21692
}

Semantic roles & 50–950 ramp

primary
#8A77AF
secondary
#C5CCB6
accent
#C265A3
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A77AF

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

Preview Lab → · Contrast checker → · Palette generator →

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