#8977F7#8977F7

#8977F7 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.7% C 0.184 H 286.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8977F7
RGBrgb(137, 119, 247)
HSLhsl(248, 89%, 72%)
HSVhsv(248, 52%, 97%)
CMYKcmyk(44.5%, 51.8%, 0%, 3.1%)
CIE-LABlab(57.30, 37.95, -62.07)
CIE-LCHlch(57.30, 72.75, 301.44°)
OKLaboklab(64.73% 0.0523 -0.1766)
OKLCHoklch(64.73% 0.184 286.5)
XYZxyz(33.6970, 25.2260, 91.0713)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977F7 #E5F777
analogous
#77A5F7 #8977F7 #C977F7
triadic
#8977F7 #F78977 #77F789
tetradic
#8977F7 #F777A5 #E5F777 #77F7C9
square
#8977F7 #F777A5 #E5F777 #77F7C9
split-complementary
#8977F7 #F7C977 #A5F777
monochromatic
#2C0EE6 #573DF4 #8977F7 #BBB1FA #E6E2FD

Accessibility & contrast

On white

3.47
#8977F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8977F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977F7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977F7#FFFFFF#000000##000000
##8977F71.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)
#3A8DFB
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#6692AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8977f7;
/* rgb */ color: rgb(137, 119, 247);
/* oklch */ color: oklch(64.7% 0.184 286.5);
Tailwind
colors: {
  custom: {
    50: '#b19efa',
    500: '#8977f7',
    950: '#000000',
  },
}
SCSS
$custom: #8977f7;
$custom-light: #b19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#8977f7",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 248.438,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64727,
    "c": 0.18418,
    "h": 286.5
  },
  "luminance": 0.25227
}

Semantic roles & 50–950 ramp

primary
#8977F7
secondary
#F1F5D5
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8977F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8977F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva