#8A77F7#8A77F7

#8A77F7 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.8% C 0.184 H 286.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A77F7
RGBrgb(138, 119, 247)
HSLhsl(249, 89%, 72%)
HSVhsv(249, 52%, 97%)
CMYKcmyk(44.1%, 51.8%, 0%, 3.1%)
CIE-LABlab(57.38, 38.17, -61.93)
CIE-LCHlch(57.38, 72.75, 301.65°)
OKLaboklab(64.81% 0.0535 -0.1762)
OKLCHoklch(64.81% 0.184 286.9)
XYZxyz(33.8617, 25.3110, 91.0790)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77F7 #E4F777
analogous
#77A4F7 #8A77F7 #CA77F7
triadic
#8A77F7 #F78A77 #77F78A
tetradic
#8A77F7 #F777A4 #E4F777 #77F7CA
square
#8A77F7 #F777A4 #E4F777 #77F7CA
split-complementary
#8A77F7 #F7CA77 #A4F777
monochromatic
#2E0EE6 #583DF4 #8A77F7 #BCB1FA #E6E2FD

Accessibility & contrast

On white

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

On black

6.06
#8A77F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77F7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77F7#FFFFFF#000000##000000
##8A77F71.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFB
Deuteranopia (green-blind)
#3886F4
Tritanopia (blue-blind)
#6892AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a77f7;
/* rgb */ color: rgb(138, 119, 247);
/* oklch */ color: oklch(64.8% 0.184 286.9);
Tailwind
colors: {
  custom: {
    50: '#b29efa',
    500: '#8a77f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a77f7;
$custom-light: #b29efa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77f7",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 248.906,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64808,
    "c": 0.18411,
    "h": 286.9
  },
  "luminance": 0.25312
}

Semantic roles & 50–950 ramp

primary
#8A77F7
secondary
#F0F5D5
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77F7

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

Preview Lab → · Contrast checker → · Palette generator →

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