#8A77EB#8A77EB

#8A77EB is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.1% C 0.168 H 288.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A77EB
RGBrgb(138, 119, 235)
HSLhsl(250, 74%, 69%)
HSVhsv(250, 49%, 92%)
CMYKcmyk(41.3%, 49.4%, 0%, 7.8%)
CIE-LABlab(56.68, 34.82, -56.39)
CIE-LCHlch(56.68, 66.27, 301.70°)
OKLaboklab(64.06% 0.0527 -0.1599)
OKLCHoklch(64.06% 0.168 288.2)
XYZxyz(32.0693, 24.5940, 81.6386)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77EB #D8EB77
analogous
#779EEB #8A77EB #C477EB
triadic
#8A77EB #EB8A77 #77EB8A
tetradic
#8A77EB #EB779E #D8EB77 #77EBC4
square
#8A77EB #EB779E #D8EB77 #77EBC4
split-complementary
#8A77EB #EBC477 #9EEB77
monochromatic
#3A1ECA #5C42E3 #8A77EB #B8ACF3 #E6E2FB

Accessibility & contrast

On white

3.55
#8A77EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77EB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77EB#FFFFFF#000000##000000
##8A77EB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#6E8FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a77eb;
/* rgb */ color: rgb(138, 119, 235);
/* oklch */ color: oklch(64.1% 0.168 288.2);
Tailwind
colors: {
  custom: {
    50: '#b19ef2',
    500: '#8a77eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a77eb;
$custom-light: #b19ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77eb",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 249.828,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6406,
    "c": 0.16834,
    "h": 288.2
  },
  "luminance": 0.24595
}

Semantic roles & 50–950 ramp

primary
#8A77EB
secondary
#EAF0CE
accent
#D60FB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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