#8A77BD#8A77BD

#8A77BD is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.5% C 0.105 H 295.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A77BD
RGBrgb(138, 119, 189)
HSLhsl(256, 35%, 60%)
HSVhsv(256, 37%, 74%)
CMYKcmyk(27%, 37%, 0%, 25.9%)
CIE-LABlab(54.31, 22.58, -34.14)
CIE-LCHlch(54.31, 40.94, 303.48°)
OKLaboklab(61.5% 0.0456 -0.0951)
OKLCHoklch(61.5% 0.105 295.6)
XYZxyz(26.2612, 22.2707, 51.0494)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77BD #AABD77
analogous
#7787BD #8A77BD #AD77BD
triadic
#8A77BD #BD8A77 #77BD8A
tetradic
#8A77BD #BD7787 #AABD77 #77BDAD
square
#8A77BD #BD7787 #AABD77 #77BDAD
split-complementary
#8A77BD #BDAD77 #87BD77
monochromatic
#4E3D7D #6851A6 #8A77BD #ADA0D1 #D1C9E5

Accessibility & contrast

On white

3.85
#8A77BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A77BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77BD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77BD#FFFFFF#000000##000000
##8A77BD1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482C0
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#7F8391
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a77bd;
/* rgb */ color: rgb(138, 119, 189);
/* oklch */ color: oklch(61.5% 0.105 295.6);
Tailwind
colors: {
  custom: {
    50: '#ad9ed1',
    500: '#8a77bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a77bd;
$custom-light: #ad9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77bd",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 256.286,
    "s": 34.653,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61504,
    "c": 0.10543,
    "h": 295.6
  },
  "luminance": 0.22271
}

Semantic roles & 50–950 ramp

primary
#8A77BD
secondary
#CED5BB
accent
#AD388E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A77BD

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

Preview Lab → · Contrast checker → · Palette generator →

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