#8A77FE#8A77FE

#8A77FE is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.3% C 0.193 H 286.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A77FE
RGBrgb(138, 119, 254)
HSLhsl(248, 99%, 73%)
HSVhsv(248, 53%, 100%)
CMYKcmyk(45.7%, 53.1%, 0%, 0.4%)
CIE-LABlab(57.80, 40.15, -65.12)
CIE-LCHlch(57.80, 76.50, 301.66°)
OKLaboklab(65.26% 0.0538 -0.1855)
OKLCHoklch(65.26% 0.193 286.2)
XYZxyz(34.9622, 25.7512, 96.8750)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77FE #EBFE77
analogous
#77A8FE #8A77FE #CD77FE
triadic
#8A77FE #FE8A77 #77FE8A
tetradic
#8A77FE #FE77A8 #EBFE77 #77FECD
square
#8A77FE #FE77A8 #EBFE77 #77FECD
split-complementary
#8A77FE #FECD77 #A8FE77
monochromatic
#2502F9 #563AFE #8A77FE #BEB4FE #E5E1FF

Accessibility & contrast

On white

3.41
#8A77FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8A77FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77FE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77FE#FFFFFF#000000##000000
##8A77FE1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#6494AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a77fe;
/* rgb */ color: rgb(138, 119, 254);
/* oklch */ color: oklch(65.3% 0.193 286.2);
Tailwind
colors: {
  custom: {
    50: '#b39eff',
    500: '#8a77fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a77fe;
$custom-light: #b39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77fe",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 248.444,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65259,
    "c": 0.19319,
    "h": 286.2
  },
  "luminance": 0.25753
}

Semantic roles & 50–950 ramp

primary
#8A77FE
secondary
#F2F7D4
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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