#8A77E8#8A77E8

#8A77E8 is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.164 H 288.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A77E8
RGBrgb(138, 119, 232)
HSLhsl(250, 71%, 69%)
HSVhsv(250, 49%, 91%)
CMYKcmyk(40.5%, 48.7%, 0%, 9%)
CIE-LABlab(56.51, 33.99, -54.99)
CIE-LCHlch(56.51, 64.64, 301.72°)
OKLaboklab(63.88% 0.0524 -0.1558)
OKLCHoklch(63.88% 0.164 288.6)
XYZxyz(31.6395, 24.4221, 79.3752)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77E8 #D5E877
analogous
#779DE8 #8A77E8 #C277E8
triadic
#8A77E8 #E88A77 #77E88A
tetradic
#8A77E8 #E8779D #D5E877 #77E8C2
square
#8A77E8 #E8779D #D5E877 #77E8C2
split-complementary
#8A77E8 #E8C277 #9DE877
monochromatic
#3C21C4 #5D43DF #8A77E8 #B7ABF1 #E4E0FA

Accessibility & contrast

On white

3.57
#8A77E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A77E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77E8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77E8#FFFFFF#000000##000000
##8A77E81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#4A85E5
Tritanopia (blue-blind)
#708EA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a77e8;
/* rgb */ color: rgb(138, 119, 232);
/* oklch */ color: oklch(63.9% 0.164 288.6);
Tailwind
colors: {
  custom: {
    50: '#b19ef0',
    500: '#8a77e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a77e8;
$custom-light: #b19ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77e8",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 250.088,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63878,
    "c": 0.16435,
    "h": 288.6
  },
  "luminance": 0.24423
}

Semantic roles & 50–950 ramp

primary
#8A77E8
secondary
#E8EECD
accent
#D312B3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77E8

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

Preview Lab → · Contrast checker → · Palette generator →

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