#8A77BC#8A77BC

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

Color values

HEX#8A77BC
RGBrgb(138, 119, 188)
HSLhsl(257, 34%, 60%)
HSVhsv(257, 37%, 74%)
CMYKcmyk(26.6%, 36.7%, 0%, 26.3%)
CIE-LABlab(54.27, 22.33, -33.64)
CIE-LCHlch(54.27, 40.38, 303.58°)
OKLaboklab(61.45% 0.0454 -0.0936)
OKLCHoklch(61.45% 0.104 295.9)
XYZxyz(26.1530, 22.2275, 50.4797)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77BC #A9BC77
analogous
#7786BC #8A77BC #AD77BC
triadic
#8A77BC #BC8A77 #77BC8A
tetradic
#8A77BC #BC7786 #A9BC77 #77BCAD
square
#8A77BC #BC7786 #A9BC77 #77BCAD
split-complementary
#8A77BC #BCAD77 #86BC77
monochromatic
#4E3D7C #6851A5 #8A77BC #ADA0D0 #D1C9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A77BC#FFFFFF#000000##000000
##8A77BC1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BF
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#808391
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a77bc;
/* rgb */ color: rgb(138, 119, 188);
/* oklch */ color: oklch(61.5% 0.104 295.9);
Tailwind
colors: {
  custom: {
    50: '#ad9ed0',
    500: '#8a77bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a77bc;
$custom-light: #ad9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77bc",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 256.522,
    "s": 33.99,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.10402,
    "h": 295.9
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

primary
#8A77BC
secondary
#CDD5BA
accent
#AD398D
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A77BC

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

Preview Lab → · Contrast checker → · Palette generator →

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