#8A77EE#8A77EE

#8A77EE is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.2% C 0.172 H 287.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A77EE
RGBrgb(138, 119, 238)
HSLhsl(250, 78%, 70%)
HSVhsv(250, 50%, 93%)
CMYKcmyk(42%, 50%, 0%, 6.7%)
CIE-LABlab(56.85, 35.65, -57.78)
CIE-LCHlch(56.85, 67.90, 301.68°)
OKLaboklab(64.24% 0.0529 -0.164)
OKLCHoklch(64.24% 0.172 287.9)
XYZxyz(32.5063, 24.7688, 83.9405)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77EE #DBEE77
analogous
#779FEE #8A77EE #C677EE
triadic
#8A77EE #EE8A77 #77EE8A
tetradic
#8A77EE #EE779F #DBEE77 #77EEC6
square
#8A77EE #EE779F #DBEE77 #77EEC6
split-complementary
#8A77EE #EEC677 #9FEE77
monochromatic
#371AD1 #5B41E7 #8A77EE #B9ADF5 #E8E4FC

Accessibility & contrast

On white

3.53
#8A77EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A77EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77EE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77EE#FFFFFF#000000##000000
##8A77EE1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#4485EB
Tritanopia (blue-blind)
#6D90A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a77ee;
/* rgb */ color: rgb(138, 119, 238);
/* oklch */ color: oklch(64.2% 0.172 287.9);
Tailwind
colors: {
  custom: {
    50: '#b19ef4',
    500: '#8a77ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a77ee;
$custom-light: #b19ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77ee",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 249.58,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.17231,
    "h": 287.9
  },
  "luminance": 0.2477
}

Semantic roles & 50–950 ramp

primary
#8A77EE
secondary
#ECF1D0
accent
#DA0BB9
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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