#8977F8#8977F8

#8977F8 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.8% C 0.185 H 286.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8977F8
RGBrgb(137, 119, 248)
HSLhsl(248, 90%, 72%)
HSVhsv(248, 52%, 97%)
CMYKcmyk(44.8%, 52%, 0%, 2.7%)
CIE-LABlab(57.35, 38.23, -62.53)
CIE-LCHlch(57.35, 73.29, 301.45°)
OKLaboklab(64.79% 0.0524 -0.1779)
OKLCHoklch(64.79% 0.185 286.4)
XYZxyz(33.8517, 25.2879, 91.8861)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977F8 #E6F877
analogous
#77A6F8 #8977F8 #CA77F8
triadic
#8977F8 #F88977 #77F889
tetradic
#8977F8 #F877A6 #E6F877 #77F8CA
square
#8977F8 #F877A6 #E6F877 #77F8CA
split-complementary
#8977F8 #F8CA77 #A6F877
monochromatic
#2B0CE9 #563DF5 #8977F8 #BCB1FB #E6E2FE

Accessibility & contrast

On white

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

On black

6.06
#8977F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977F8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977F8#FFFFFF#000000##000000
##8977F81.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFC
Deuteranopia (green-blind)
#3686F5
Tritanopia (blue-blind)
#6693AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8977f8;
/* rgb */ color: rgb(137, 119, 248);
/* oklch */ color: oklch(64.8% 0.185 286.4);
Tailwind
colors: {
  custom: {
    50: '#b19efb',
    500: '#8977f8',
    950: '#000000',
  },
}
SCSS
$custom: #8977f8;
$custom-light: #b19efb;
$custom-dark: #000000;
JSON
{
  "hex": "#8977f8",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 248.372,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64791,
    "c": 0.18548,
    "h": 286.4
  },
  "luminance": 0.25289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8977F8

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

Preview Lab → · Contrast checker → · Palette generator →

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