#8A77DC#8A77DC

#8A77DC is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.2% C 0.148 H 290.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A77DC
RGBrgb(138, 119, 220)
HSLhsl(251, 59%, 66%)
HSVhsv(251, 46%, 86%)
CMYKcmyk(37.3%, 45.9%, 0%, 13.7%)
CIE-LABlab(55.85, 30.71, -49.31)
CIE-LCHlch(55.85, 58.09, 301.91°)
OKLaboklab(63.17% 0.051 -0.1392)
OKLCHoklch(63.17% 0.148 290.1)
XYZxyz(29.9928, 23.7634, 70.7028)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77DC #C9DC77
analogous
#7797DC #8A77DC #BD77DC
triadic
#8A77DC #DC8A77 #77DC8A
tetradic
#8A77DC #DC7797 #C9DC77 #77DCBD
square
#8A77DC #DC7797 #C9DC77 #77DCBD
split-complementary
#8A77DC #DCBD77 #97DC77
monochromatic
#442CAC #6046CF #8A77DC #B4A8E9 #DED8F5

Accessibility & contrast

On white

3.65
#8A77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8A77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77DC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77DC#FFFFFF#000000##000000
##8A77DC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#5484DA
Tritanopia (blue-blind)
#758B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a77dc;
/* rgb */ color: rgb(138, 119, 220);
/* oklch */ color: oklch(63.2% 0.148 290.1);
Tailwind
colors: {
  custom: {
    50: '#b09ee7',
    500: '#8a77dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a77dc;
$custom-light: #b09ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77dc",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 251.287,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6317,
    "c": 0.14822,
    "h": 290.1
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#8A77DC
secondary
#E2E8C7
accent
#C71FA7
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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