#8A77F4#8A77F4

#8A77F4 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.6% C 0.180 H 287.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A77F4
RGBrgb(138, 119, 244)
HSLhsl(249, 85%, 71%)
HSVhsv(249, 51%, 96%)
CMYKcmyk(43.4%, 51.2%, 0%, 4.3%)
CIE-LABlab(57.20, 37.33, -60.56)
CIE-LCHlch(57.20, 71.14, 301.65°)
OKLaboklab(64.62% 0.0533 -0.1721)
OKLCHoklch(64.62% 0.18 287.2)
XYZxyz(33.4025, 25.1273, 88.6605)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77F4 #E1F477
analogous
#77A2F4 #8A77F4 #C877F4
triadic
#8A77F4 #F48A77 #77F48A
tetradic
#8A77F4 #F477A2 #E1F477 #77F4C8
square
#8A77F4 #F477A2 #E1F477 #77F4C8
split-complementary
#8A77F4 #F4C877 #A2F477
monochromatic
#3112DF #593EEF #8A77F4 #BBB0F9 #E7E3FD

Accessibility & contrast

On white

3.49
#8A77F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8A77F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77F4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77F4#FFFFFF#000000##000000
##8A77F41.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF8
Deuteranopia (green-blind)
#3C86F1
Tritanopia (blue-blind)
#6A92AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a77f4;
/* rgb */ color: rgb(138, 119, 244);
/* oklch */ color: oklch(64.6% 0.180 287.2);
Tailwind
colors: {
  custom: {
    50: '#b29ef8',
    500: '#8a77f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a77f4;
$custom-light: #b29ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77f4",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 244
  },
  "hsl": {
    "h": 249.12,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.1802,
    "h": 287.2
  },
  "luminance": 0.25129
}

Semantic roles & 50–950 ramp

primary
#8A77F4
secondary
#EFF4D3
accent
#E204C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77F4

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

Preview Lab → · Contrast checker → · Palette generator →

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