#8A77EA#8A77EA

#8A77EA is a light, vivid blue. Relative luminance 0.245; OKLCH L 64.0% C 0.167 H 288.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A77EA
RGBrgb(138, 119, 234)
HSLhsl(250, 73%, 69%)
HSVhsv(250, 49%, 92%)
CMYKcmyk(41%, 49.1%, 0%, 8.2%)
CIE-LABlab(56.62, 34.54, -55.92)
CIE-LCHlch(56.62, 65.73, 301.70°)
OKLaboklab(64% 0.0526 -0.1585)
OKLCHoklch(64% 0.167 288.3)
XYZxyz(31.9252, 24.5364, 80.8798)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77EA #D7EA77
analogous
#779EEA #8A77EA #C477EA
triadic
#8A77EA #EA8A77 #77EA8A
tetradic
#8A77EA #EA779E #D7EA77 #77EAC4
square
#8A77EA #EA779E #D7EA77 #77EAC4
split-complementary
#8A77EA #EAC477 #9EEA77
monochromatic
#3B1FC8 #5C42E2 #8A77EA #B8ACF2 #E5E1FA

Accessibility & contrast

On white

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

On black

5.91
#8A77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77EA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77EA#FFFFFF#000000##000000
##8A77EA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AEE
Deuteranopia (green-blind)
#4885E7
Tritanopia (blue-blind)
#6F8FA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a77ea;
/* rgb */ color: rgb(138, 119, 234);
/* oklch */ color: oklch(64.0% 0.167 288.3);
Tailwind
colors: {
  custom: {
    50: '#b19ef1',
    500: '#8a77ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a77ea;
$custom-light: #b19ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77ea",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 249.913,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63999,
    "c": 0.16702,
    "h": 288.3
  },
  "luminance": 0.24537
}

Semantic roles & 50–950 ramp

primary
#8A77EA
secondary
#EAEFCE
accent
#D510B5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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