#8977FB#8977FB

#8977FB is a light, vivid blue. Relative luminance 0.255; OKLCH L 65.0% C 0.189 H 286.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8977FB
RGBrgb(137, 119, 251)
HSLhsl(248, 94%, 73%)
HSVhsv(248, 53%, 98%)
CMYKcmyk(45.4%, 52.6%, 0%, 1.6%)
CIE-LABlab(57.54, 39.08, -63.89)
CIE-LCHlch(57.54, 74.90, 301.45°)
OKLaboklab(64.98% 0.0525 -0.182)
OKLCHoklch(64.98% 0.189 286.1)
XYZxyz(34.3209, 25.4756, 94.3570)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977FB #E9FB77
analogous
#77A7FB #8977FB #CB77FB
triadic
#8977FB #FB8977 #77FB89
tetradic
#8977FB #FB77A7 #E9FB77 #77FBCB
square
#8977FB #FB77A7 #E9FB77 #77FBCB
split-complementary
#8977FB #FBCB77 #A7FB77
monochromatic
#2707F1 #553CF9 #8977FB #BDB2FD #E5E1FE

Accessibility & contrast

On white

3.45
#8977FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8977FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977FB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977FB#FFFFFF#000000##000000
##8977FB1.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#6494AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8977fb;
/* rgb */ color: rgb(137, 119, 251);
/* oklch */ color: oklch(65.0% 0.189 286.1);
Tailwind
colors: {
  custom: {
    50: '#b29efd',
    500: '#8977fb',
    950: '#000000',
  },
}
SCSS
$custom: #8977fb;
$custom-light: #b29efd;
$custom-dark: #000000;
JSON
{
  "hex": "#8977fb",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 248.182,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64983,
    "c": 0.18939,
    "h": 286.1
  },
  "luminance": 0.25477
}

Semantic roles & 50–950 ramp

primary
#8977FB
secondary
#F2F6D5
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8977FB

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

Preview Lab → · Contrast checker → · Palette generator →

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