#8A77E9#8A77E9

#8A77E9 is a light, vivid violet. Relative luminance 0.245; OKLCH L 63.9% C 0.166 H 288.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A77E9
RGBrgb(138, 119, 233)
HSLhsl(250, 72%, 69%)
HSVhsv(250, 49%, 91%)
CMYKcmyk(40.8%, 48.9%, 0%, 8.6%)
CIE-LABlab(56.56, 34.27, -55.45)
CIE-LCHlch(56.56, 65.19, 301.71°)
OKLaboklab(63.94% 0.0525 -0.1572)
OKLCHoklch(63.94% 0.166 288.5)
XYZxyz(31.7819, 24.4791, 80.1254)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77E9 #D6E977
analogous
#779DE9 #8A77E9 #C377E9
triadic
#8A77E9 #E98A77 #77E98A
tetradic
#8A77E9 #E9779D #D6E977 #77E9C3
square
#8A77E9 #E9779D #D6E977 #77E9C3
split-complementary
#8A77E9 #E9C377 #9DE977
monochromatic
#3C20C6 #5D42E0 #8A77E9 #B7ACF2 #E5E0FA

Accessibility & contrast

On white

3.56
#8A77E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A77E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77E9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77E9#FFFFFF#000000##000000
##8A77E91.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AED
Deuteranopia (green-blind)
#4985E6
Tritanopia (blue-blind)
#6F8EA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a77e9;
/* rgb */ color: rgb(138, 119, 233);
/* oklch */ color: oklch(63.9% 0.166 288.5);
Tailwind
colors: {
  custom: {
    50: '#b19ef1',
    500: '#8a77e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a77e9;
$custom-light: #b19ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77e9",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 233
  },
  "hsl": {
    "h": 250,
    "s": 72.152,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63938,
    "c": 0.16569,
    "h": 288.5
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#8A77E9
secondary
#E9EFCD
accent
#D411B4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77E9

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

Preview Lab → · Contrast checker → · Palette generator →

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