#8A77F5#8A77F5

#8A77F5 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.7% C 0.182 H 287.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A77F5
RGBrgb(138, 119, 245)
HSLhsl(249, 86%, 71%)
HSVhsv(249, 51%, 96%)
CMYKcmyk(43.7%, 51.4%, 0%, 3.9%)
CIE-LABlab(57.26, 37.61, -61.02)
CIE-LCHlch(57.26, 71.68, 301.65°)
OKLaboklab(64.68% 0.0534 -0.1735)
OKLCHoklch(64.68% 0.182 287.1)
XYZxyz(33.5548, 25.1882, 89.4623)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77F5 #E2F577
analogous
#77A3F5 #8A77F5 #C977F5
triadic
#8A77F5 #F58A77 #77F58A
tetradic
#8A77F5 #F577A3 #E2F577 #77F5C9
square
#8A77F5 #F577A3 #E2F577 #77F5C9
split-complementary
#8A77F5 #F5C977 #A3F577
monochromatic
#3011E1 #593EF1 #8A77F5 #BBB0F9 #E6E2FD

Accessibility & contrast

On white

3.48
#8A77F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8A77F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77F5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77F5#FFFFFF#000000##000000
##8A77F51.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#6992AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a77f5;
/* rgb */ color: rgb(138, 119, 245);
/* oklch */ color: oklch(64.7% 0.182 287.1);
Tailwind
colors: {
  custom: {
    50: '#b29ef9',
    500: '#8a77f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a77f5;
$custom-light: #b29ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77f5",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 245
  },
  "hsl": {
    "h": 249.048,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64681,
    "c": 0.18151,
    "h": 287.1
  },
  "luminance": 0.25189
}

Semantic roles & 50–950 ramp

primary
#8A77F5
secondary
#EFF4D4
accent
#E303C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77F5

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

Preview Lab → · Contrast checker → · Palette generator →

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