#8A77BA#8A77BA

#8A77BA is a mid, moderate violet. Relative luminance 0.221; OKLCH L 61.4% C 0.101 H 296.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A77BA
RGBrgb(138, 119, 186)
HSLhsl(257, 33%, 60%)
HSVhsv(257, 36%, 73%)
CMYKcmyk(25.8%, 36%, 0%, 27.1%)
CIE-LABlab(54.18, 21.83, -32.64)
CIE-LCHlch(54.18, 39.27, 303.78°)
OKLaboklab(61.36% 0.0449 -0.0907)
OKLCHoklch(61.36% 0.101 296.3)
XYZxyz(25.9389, 22.1418, 49.3521)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77BA #A7BA77
analogous
#7786BA #8A77BA #AC77BA
triadic
#8A77BA #BA8A77 #77BA8A
tetradic
#8A77BA #BA7786 #A7BA77 #77BAAC
square
#8A77BA #BA7786 #A7BA77 #77BAAC
split-complementary
#8A77BA #BAAC77 #86BA77
monochromatic
#4E3D79 #6952A2 #8A77BA #ADA0CF #D0C8E3

Accessibility & contrast

On white

3.87
#8A77BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A77BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77BA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77BA#FFFFFF#000000##000000
##8A77BA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BD
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#808290
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a77ba;
/* rgb */ color: rgb(138, 119, 186);
/* oklch */ color: oklch(61.4% 0.101 296.3);
Tailwind
colors: {
  custom: {
    50: '#ad9ecf',
    500: '#8a77ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a77ba;
$custom-light: #ad9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77ba",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 257.015,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61355,
    "c": 0.10121,
    "h": 296.3
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#8A77BA
secondary
#CCD3B9
accent
#C95FAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A77BA

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

Preview Lab → · Contrast checker → · Palette generator →

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