#8A77F8#8A77F8

#8A77F8 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.9% C 0.185 H 286.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A77F8
RGBrgb(138, 119, 248)
HSLhsl(249, 90%, 72%)
HSVhsv(249, 52%, 97%)
CMYKcmyk(44.4%, 52%, 0%, 2.7%)
CIE-LABlab(57.44, 38.45, -62.39)
CIE-LCHlch(57.44, 73.29, 301.65°)
OKLaboklab(64.87% 0.0536 -0.1775)
OKLCHoklch(64.87% 0.185 286.8)
XYZxyz(34.0165, 25.3729, 91.8939)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77F8 #E5F877
analogous
#77A5F8 #8A77F8 #CA77F8
triadic
#8A77F8 #F88A77 #77F88A
tetradic
#8A77F8 #F877A5 #E5F877 #77F8CA
square
#8A77F8 #F877A5 #E5F877 #77F8CA
split-complementary
#8A77F8 #F8CA77 #A5F877
monochromatic
#2C0CE9 #583DF5 #8A77F8 #BCB1FB #E6E2FE

Accessibility & contrast

On white

3.46
#8A77F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8A77F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77F8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77F8#FFFFFF#000000##000000
##8A77F81.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#3786F5
Tritanopia (blue-blind)
#6893AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a77f8;
/* rgb */ color: rgb(138, 119, 248);
/* oklch */ color: oklch(64.9% 0.185 286.8);
Tailwind
colors: {
  custom: {
    50: '#b29efb',
    500: '#8a77f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a77f8;
$custom-light: #b29efb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77f8",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 248.837,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.18542,
    "h": 286.8
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#8A77F8
secondary
#F1F6D5
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77F8

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

Preview Lab → · Contrast checker → · Palette generator →

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