#8A77EF#8A77EF

#8A77EF is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.3% C 0.174 H 287.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A77EF
RGBrgb(138, 119, 239)
HSLhsl(250, 79%, 70%)
HSVhsv(250, 50%, 94%)
CMYKcmyk(42.3%, 50.2%, 0%, 6.3%)
CIE-LABlab(56.91, 35.93, -58.25)
CIE-LCHlch(56.91, 68.44, 301.67°)
OKLaboklab(64.31% 0.053 -0.1653)
OKLCHoklch(64.31% 0.174 287.8)
XYZxyz(32.6536, 24.8277, 84.7164)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77EF #DCEF77
analogous
#77A0EF #8A77EF #C677EF
triadic
#8A77EF #EF8A77 #77EF8A
tetradic
#8A77EF #EF77A0 #DCEF77 #77EFC6
square
#8A77EF #EF77A0 #DCEF77 #77EFC6
split-complementary
#8A77EF #EFC677 #A0EF77
monochromatic
#3619D3 #5B40E9 #8A77EF #B9AEF5 #E7E4FC

Accessibility & contrast

On white

3.52
#8A77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8A77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77EF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77EF#FFFFFF#000000##000000
##8A77EF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#4385EC
Tritanopia (blue-blind)
#6C90A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a77ef;
/* rgb */ color: rgb(138, 119, 239);
/* oklch */ color: oklch(64.3% 0.174 287.8);
Tailwind
colors: {
  custom: {
    50: '#b19ef5',
    500: '#8a77ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a77ef;
$custom-light: #b19ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77ef",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 249.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64306,
    "c": 0.17363,
    "h": 287.8
  },
  "luminance": 0.24829
}

Semantic roles & 50–950 ramp

primary
#8A77EF
secondary
#ECF2D0
accent
#DB0ABA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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