#8997FE#8997FE

#8997FE is a light, vivid blue. Relative luminance 0.346; OKLCH L 71.0% C 0.150 H 276.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8997FE
RGBrgb(137, 151, 254)
HSLhsl(233, 98%, 77%)
HSVhsv(233, 46%, 100%)
CMYKcmyk(46.1%, 40.6%, 0%, 0.4%)
CIE-LABlab(65.44, 21.36, -52.92)
CIE-LCHlch(65.44, 57.07, 291.98°)
OKLaboklab(71.01% 0.0158 -0.1496)
OKLCHoklch(71.01% 0.15 276)
XYZxyz(39.2670, 34.6052, 98.3571)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8997FE #FEF089
analogous
#89D1FE #8997FE #B689FE
triadic
#8997FE #FE8997 #97FE89
tetradic
#8997FE #FE89D1 #FEF089 #89FEB6
square
#8997FE #FE89D1 #FEF089 #89FEB6
split-complementary
#8997FE #FEB689 #D1FE89
monochromatic
#102CFD #4C62FD #8997FE #C6CCFF #E1E4FF

Accessibility & contrast

On white

2.65
#8997FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#8997FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8997FE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8997FE#FFFFFF#000000##000000
##8997FE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#669AFC
Tritanopia (blue-blind)
#5EACBE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8997fe;
/* rgb */ color: rgb(137, 151, 254);
/* oklch */ color: oklch(71.0% 0.150 276.0);
Tailwind
colors: {
  custom: {
    50: '#b1b5ff',
    500: '#8997fe',
    950: '#000000',
  },
}
SCSS
$custom: #8997fe;
$custom-light: #b1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8997fe",
  "rgb": {
    "r": 137,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 232.821,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71009,
    "c": 0.15045,
    "h": 276
  },
  "luminance": 0.34607
}

Semantic roles & 50–950 ramp

primary
#8997FE
secondary
#F7F3D4
accent
#CA00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8997FE

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

Preview Lab → · Contrast checker → · Palette generator →

#8997FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva