#8A77F6#8A77F6

#8A77F6 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.7% C 0.183 H 287.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A77F6
RGBrgb(138, 119, 246)
HSLhsl(249, 88%, 72%)
HSVhsv(249, 52%, 96%)
CMYKcmyk(43.9%, 51.6%, 0%, 3.5%)
CIE-LABlab(57.32, 37.89, -61.47)
CIE-LCHlch(57.32, 72.21, 301.65°)
OKLaboklab(64.74% 0.0534 -0.1748)
OKLCHoklch(64.74% 0.183 287)
XYZxyz(33.7078, 25.2494, 90.2685)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77F6 #E3F677
analogous
#77A4F6 #8A77F6 #C977F6
triadic
#8A77F6 #F68A77 #77F68A
tetradic
#8A77F6 #F677A4 #E3F677 #77F6C9
square
#8A77F6 #F677A4 #E3F677 #77F6C9
split-complementary
#8A77F6 #F6C977 #A4F677
monochromatic
#2F0FE4 #593EF2 #8A77F6 #BBB0FA #E6E2FD

Accessibility & contrast

On white

3.47
#8A77F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8A77F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77F6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77F6#FFFFFF#000000##000000
##8A77F61.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFA
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#6992AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a77f6;
/* rgb */ color: rgb(138, 119, 246);
/* oklch */ color: oklch(64.7% 0.183 287.0);
Tailwind
colors: {
  custom: {
    50: '#b29efa',
    500: '#8a77f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a77f6;
$custom-light: #b29efa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77f6",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 248.976,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64745,
    "c": 0.18282,
    "h": 287
  },
  "luminance": 0.25251
}

Semantic roles & 50–950 ramp

primary
#8A77F6
secondary
#F0F5D4
accent
#E401C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77F6

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

Preview Lab → · Contrast checker → · Palette generator →

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