#8A77B4#8A77B4

#8A77B4 is a mid, moderate violet. Relative luminance 0.219; OKLCH L 61.1% C 0.093 H 297.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A77B4
RGBrgb(138, 119, 180)
HSLhsl(259, 29%, 59%)
HSVhsv(259, 34%, 71%)
CMYKcmyk(23.3%, 33.9%, 0%, 29.4%)
CIE-LABlab(53.91, 20.35, -29.60)
CIE-LCHlch(53.91, 35.92, 304.51°)
OKLaboklab(61.07% 0.0434 -0.082)
OKLCHoklch(61.07% 0.093 297.9)
XYZxyz(25.3144, 21.8920, 46.0631)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77B4 #A1B477
analogous
#7782B4 #8A77B4 #A877B4
triadic
#8A77B4 #B48A77 #77B48A
tetradic
#8A77B4 #B47782 #A1B477 #77B4A8
square
#8A77B4 #B47782 #A1B477 #77B4A8
split-complementary
#8A77B4 #B4A877 #82B477
monochromatic
#4F3F72 #6A5599 #8A77B4 #AC9ECA #CEC6E0

Accessibility & contrast

On white

3.90
#8A77B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A77B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77B4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77B4#FFFFFF#000000##000000
##8A77B41.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6881B6
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#82818D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a77b4;
/* rgb */ color: rgb(138, 119, 180);
/* oklch */ color: oklch(61.1% 0.093 297.9);
Tailwind
colors: {
  custom: {
    50: '#ad9eca',
    500: '#8a77b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a77b4;
$custom-light: #ad9eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77b4",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 180
  },
  "hsl": {
    "h": 258.689,
    "s": 28.91,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61066,
    "c": 0.09279,
    "h": 297.9
  },
  "luminance": 0.21892
}

Semantic roles & 50–950 ramp

primary
#8A77B4
secondary
#C8CFB7
accent
#C563A6
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A77B4

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

Preview Lab → · Contrast checker → · Palette generator →

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