#8A77FB#8A77FB

#8A77FB is a light, vivid blue. Relative luminance 0.256; OKLCH L 65.1% C 0.189 H 286.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A77FB
RGBrgb(138, 119, 251)
HSLhsl(249, 94%, 73%)
HSVhsv(249, 53%, 98%)
CMYKcmyk(45%, 52.6%, 0%, 1.6%)
CIE-LABlab(57.62, 39.30, -63.76)
CIE-LCHlch(57.62, 74.90, 301.65°)
OKLaboklab(65.06% 0.0537 -0.1815)
OKLCHoklch(65.06% 0.189 286.5)
XYZxyz(34.4856, 25.5605, 94.3647)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77FB #E8FB77
analogous
#77A6FB #8A77FB #CC77FB
triadic
#8A77FB #FB8A77 #77FB8A
tetradic
#8A77FB #FB77A6 #E8FB77 #77FBCC
square
#8A77FB #FB77A6 #E8FB77 #77FBCC
split-complementary
#8A77FB #FBCC77 #A6FB77
monochromatic
#2907F1 #573CF9 #8A77FB #BDB2FD #E5E1FE

Accessibility & contrast

On white

3.44
#8A77FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8A77FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77FB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77FB#FFFFFF#000000##000000
##8A77FB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#3287F8
Tritanopia (blue-blind)
#6694AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a77fb;
/* rgb */ color: rgb(138, 119, 251);
/* oklch */ color: oklch(65.1% 0.189 286.5);
Tailwind
colors: {
  custom: {
    50: '#b29efd',
    500: '#8a77fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a77fb;
$custom-light: #b29efd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77fb",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 248.636,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65064,
    "c": 0.18932,
    "h": 286.5
  },
  "luminance": 0.25562
}

Semantic roles & 50–950 ramp

primary
#8A77FB
secondary
#F1F6D5
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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