#8A77BB#8A77BB

#8A77BB is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.4% C 0.103 H 296.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A77BB
RGBrgb(138, 119, 187)
HSLhsl(257, 33%, 60%)
HSVhsv(257, 36%, 73%)
CMYKcmyk(26.2%, 36.4%, 0%, 26.7%)
CIE-LABlab(54.22, 22.08, -33.14)
CIE-LCHlch(54.22, 39.82, 303.68°)
OKLaboklab(61.41% 0.0451 -0.0922)
OKLCHoklch(61.41% 0.103 296.1)
XYZxyz(26.0456, 22.1845, 49.9139)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77BB #A8BB77
analogous
#7786BB #8A77BB #AC77BB
triadic
#8A77BB #BB8A77 #77BB8A
tetradic
#8A77BB #BB7786 #A8BB77 #77BBAC
square
#8A77BB #BB7786 #A8BB77 #77BBAC
split-complementary
#8A77BB #BBAC77 #86BB77
monochromatic
#4E3D7A #6852A3 #8A77BB #ADA0CF #D0C9E4

Accessibility & contrast

On white

3.86
#8A77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77BB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77BB#FFFFFF#000000##000000
##8A77BB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#808390
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a77bb;
/* rgb */ color: rgb(138, 119, 187);
/* oklch */ color: oklch(61.4% 0.103 296.1);
Tailwind
colors: {
  custom: {
    50: '#ad9ecf',
    500: '#8a77bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a77bb;
$custom-light: #ad9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77bb",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 256.765,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.10262,
    "h": 296.1
  },
  "luminance": 0.22185
}

Semantic roles & 50–950 ramp

primary
#8A77BB
secondary
#CDD4BA
accent
#C95EAC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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